Skip to content

VictorCazanave/taiwan-weather-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published