Skip to content

VarnaLab/varnalab-finance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

--sync All Years

node bin/ \
  --id 14z48BCI1EKQvvtBV47PRq9I3r9lVL5IQbdTsKXcf25w \
  --sync \
  --out /path/to/output/location/

--sync Specific Year

node bin/ \
  --id 14z48BCI1EKQvvtBV47PRq9I3r9lVL5IQbdTsKXcf25w \
  --sync 2017 \
  --out /path/to/output/location/

--parse CSV to JSON

node bin/ \
  --parse /path/to/csv/dump/location/ \
  --out /path/to/output/location/

--stats Finance JSON to Stats JSON

node bin/ \
  --stats /path/to/parsed/finance.json \
  --out /path/to/output/location/

--render Stats JSON to HTML

node bin/ \
  --render /path/to/generated/stats.json \
  --out /path/to/output/location/

Omit --out to write to stdout

--auth path to auth config

scope: https://www.googleapis.com/auth/drive.readonly

{
  "development": {
    "google": {
      "app": {
        "key": "",
        "secret": ""
      },
      "user": {
        "token": "",
        "refresh": "",
        "expires": 0
      }
    }
  }
}

--env config environment