1.0.2 • Published 1 year ago
@yuroook/weather-cli-nodejs v1.0.2
The CLI app which shows the current Kyiv weather forecast
API token: 6e1557ce12a19cecdf69c748a1a9c0eb
Commands:
1) To use CLI app you need the API token. To set it you need to use -t parameter and token.
node weather.js -t 6e1557ce12a19cecdf69c748a1a9c0eb
2) Now you can find the saved token in the Root directory inside "weather-data.json" file:
cat ~/weather-data.json
3) After initialization, you can simply call:
node weather.js
4) To get help:
node weather.js -h