1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/common/ansiweather.md

17 lines
454 B
Markdown
Raw Permalink Normal View History

2019-02-25 18:32:45 +08:00
# ansiweather
> 一个 shell 脚本,用于在终端中显示当前的天气状况。
> 更多信息:<https://github.com/fcambus/ansiweather>.
2019-02-25 18:32:45 +08:00
- 使用公制单位显示 Rzeszow, Poland 接下来 5 天的天气预报:
2019-02-25 18:32:45 +08:00
`ansiweather -u metric -f 7 -l {{Rzeszow,PL}}`
2019-02-25 18:32:45 +08:00
- 显示带符号和日光数据信息的天气预报:
2019-02-25 18:32:45 +08:00
`ansiweather -F -s true -d true`
2019-02-25 18:32:45 +08:00
- 显示带风力等级和湿度信息的天气预报:
2019-02-25 18:32:45 +08:00
`ansiweather -w true -h true`