tldr/pages.zh/common/ansiweather.md

16 lines
402 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# ansiweather
> 一个shell脚本用于在终端中显示当前的天气状况.
- 使用公制单位显示Rzeszow, Poland接下来5天的天气预报:
`ansiweather -u {{metric}} -f {{5}} -l {{Rzeszow,PL}}`
- 显示带符号和日光数据信息的天气预报:
`ansiweather -s {{true}} -d {{true}}`
- 显示带风力等级和湿度信息的天气预报:
`ansiweather -w {{true}} -h {{true}}`