1.0.5 • Published 4 years ago

taiwan-weather-cli v1.0.5

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

taiwan-weather-CLI

npm version Dependency Status

A CLI for taiwan-weather node.js module.

This is just a wrapper that does not add any features.

Installation

npm install taiwan-weather-cli

Usage

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]

Documentation

CLI documentation: tw --help

Available values for --loc, --freq and --lang.

Example

tw --api-key 1234-5678-ABCD-EFGH --loc TAIPEI_CITY HSINCHU_COUNTY --freq WEEKDAY --lang EN --output ./data --json