NodeJS based CLI application to read from a provided file and combine its information with data from an API and output a new file.
| Tool | Version |
|---|---|
| Node | >= 10 < 11 |
| NPM | >= 6 |
- Run
npm installfrom the project directory to update the dependencies - Once dependencies are installed, run
npm linkfrom the project directory. This will link a new CLI command in your enviornmentappndr. Linking will allow you to run the CLI app from your Terminal and from any directory
- Run
appndrfrom any location in your Terminal
Usage: appndr [options] [command]
Options: -v, --version output the version number -h, --help
display help for commandCommands:
commands description config configure environment parse parse a file for processing help [command] display help for command
- Run
appndr config --initto set up a new environment. Environment config are stored as a JSON file in$HOME/.config/configstore - Run
appndr config --resetto reset the configuration data. If no configuration is found when running theappndr parsecommand, it will default to Development config.
- Run
appndr parse --in $HOME/input.csv --out $HOME/output.csvto read a CSV file. The CLI app only support CSV files a the moment. When a file that is not a csv file for passed in the--inor--outoptions, it will outError: File type is not supported