A CLI for taiwan-weather node.js module.
This is just a wrapper that does not add any features.
npm install taiwan-weather-cli
With default values:
tw --api-key <API_KEY>
With options:
tw --api-key <API_KEY> [--loc <LOCATION_1> <LOCATION_2>...] [--freq <FREQUENCY_1> <FREQUENCY_2>...] [--lang <LANGUAGE_1> <LANGUAGE_2>] [--ouput <OUTPUT_DIR>] [--prefix <FILES_PREFIX>] [--json]
CLI documentation: tw --help
Available values for --loc
, --freq
and --lang
.
tw --api-key 1234-5678-ABCD-EFGH --loc TAIPEI_CITY HSINCHU_COUNTY --freq WEEKDAY --lang EN --output ./data --json