#cli #weather #interact #super #bare-bones #short

app wttr

一个通过命令行界面与 https://wttr.in/ 交互的 CLI 应用程序

1 个不稳定版本

0.2.0 2020年7月31日

#32#bare-bones

Apache-2.0

14KB

wttr CLI

一个通过 CLI 与 https://wttr.in/ 交互的 CLI 应用程序 -- 极简至上

安装过程

# make sure you have the rust toolchain installed
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo install --git https://github.com/fyko/wttr --branch main

元信息

CLI tool for listing the weather

USAGE:
    wttr [FLAGS]

FLAGS:
    -h, --help       Prints help information
    -p, --pretty     Wether or not to display a prettier view
    -s, --short      Wether or not to display a smaller view
    -V, --version    Prints version information

示例

wttr --pretty
wttr --short
wttr -V

依赖项

~3–7MB
~159K SLoC