An open API service indexing awesome lists of open source software.

https://github.com/victorcazanave/taiwan-weather-cli

A CLI for taiwan-weather node.js module
https://github.com/victorcazanave/taiwan-weather-cli

cli forecast nodejs open-data taiwan weather

Last synced: 2 days ago
JSON representation

A CLI for taiwan-weather node.js module

Awesome Lists containing this project

README

        

# taiwan-weather-CLI

[![npm version](https://badge.fury.io/js/taiwan-weather-cli.svg)](https://badge.fury.io/js/taiwan-weather-cli)
[![Dependency Status](https://david-dm.org/VictorCazanave/taiwan-weather-cli.svg)](https://david-dm.org/VictorCazanave/taiwan-weather-cli)

A CLI for [taiwan-weather](https://www.npmjs.com/package/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 `

With options:

`tw --api-key [--loc ...] [--freq ...] [--lang ] [--ouput ] [--prefix ] [--json]`

## Documentation

CLI documentation: `tw --help`

Available values for [`--loc`](https://www.npmjs.com/package/taiwan-weather#dataenumloc), [`--freq`](https://www.npmjs.com/package/taiwan-weather#dataenumfreq) and [`--lang`](https://www.npmjs.com/package/taiwan-weather#dataenumlang).

## Example

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