wq-cli

Weather Query command line tool in China.

Usage no npm install needed!

<script type="module">
  import wqCli from 'https://cdn.skypack.dev/wq-cli';
</script>

README

wq

NPM version

Weather Query Command Line Tool in China.查询国内天气情况的终端工具。

特性

  • 实时从中央气象台获取数据。
  • 简单易用。
  • 丰富多彩的输出结果。

安装

sudo npm install wq-cli -g

使用

Usage: wq <city>

Options:
  -V, --version  output the version number
  -h, --help     output usage information

示例:

wq 上海

结果:

demo

示例:

wq 浦东

结果:

demo2

示例:

wq xxxx

结果:

demo3

声明

仅限学习交流,不得用于其他任何用途。

协议

MIT