Loading...
Loading...
Compare original and translation side by side
weather-goat-pp-clinpx -y @mvanhorn/printing-press install weather-goat --cli-onlyweather-goat-pp-cli --version$GOPATH/bin$HOME/go/bin$PATHnpxgo install github.com/mvanhorn/printing-press-library/library/other/weather-goat/cmd/weather-goat-pp-cli@latest--version$PATHweather-goat-pp-clinpx -y @mvanhorn/printing-press install weather-goat --cli-onlyweather-goat-pp-cli --version$GOPATH/bin$HOME/go/bin$PATHnpxgo install github.com/mvanhorn/printing-press-library/library/other/weather-goat/cmd/weather-goat-pp-cli@latest--version$PATHweather-goat-pp-cliweather-goat-pp-cligo walk|bike|hike|commute|drive [location]go walk|bike|hike|commute|drive [location]alerts [location]watch [location]alerts [location]watch [location]normal [location]compare <location1> <location2> [...]morning-briefweather-goat-pp-cliconfig set-locationnormal [location]compare <location1> <location2> [...]morning-briefconfig set-locationweather-goat-pp-clibreathe [location]air-quality [location]weather_codes--jsonbreathe [location]air-quality [location]weather_codes--jsonweather-goat-pp-cliconfig set-location[location]weather-goat-pp-cli forecast [location]weather-goat-pp-cli alerts [location]weather-goat-pp-cli history [location]weather-goat-pp-cli go <activity> [location]walkbikehikecommutedriveweather-goat-pp-cli breathe [location]weather-goat-pp-cli air-quality [location]weather-goat-pp-cli normal [location]weather-goat-pp-cli compare <loc1> <loc2>weather-goat-pp-cli watch [location]weather-goat-pp-cli config set-location <place>weather-goat-pp-cli geocoding <name>weather-goat-pp-cli doctorweather-goat-pp-cliconfig set-location[location]weather-goat-pp-cli forecast [location]weather-goat-pp-cli alerts [location]weather-goat-pp-cli history [location]weather-goat-pp-cli go <activity> [location]walkbikehikecommutedriveweather-goat-pp-cli breathe [location]weather-goat-pp-cli air-quality [location]weather-goat-pp-cli normal [location]weather-goat-pp-cli compare <loc1> <loc2>weather-goat-pp-cli watch [location]weather-goat-pp-cli config set-location <place>weather-goat-pp-cli geocoding <name>weather-goat-pp-cli doctorweather-goat-pp-cli go bike --agentweather-goat-pp-cli go bike --agentweather-goat-pp-cli config set-location "Seattle, WA"
weather-goat-pp-cli --agent # morning brief — no argsweather-goat-pp-cli config set-location "Seattle, WA"
weather-goat-pp-cli --agent # 晨间简报——无参数weather-goat-pp-cli compare "Portland, OR" "San Francisco, CA" --days 3 --agentweather-goat-pp-cli compare "Portland, OR" "San Francisco, CA" --days 3 --agentweather-goat-pp-cli watch --agent & # background poll every 60sweather-goat-pp-cli watch --agent & # 后台每60秒轮询weather-goat-pp-cli normal --agentweather-goat-pp-cli normal --agentauthWEATHER_GOAT_CONFIG~/.config/weather-goat-pp-cli/config.tomlconfig set-locationauthWEATHER_GOAT_CONFIGconfig set-location~/.config/weather-goat-pp-cli/config.toml--agent--json --compact --no-input --no-color --yes--days N--no-cache--agent--json --compact --no-input --no-color --yes--days N--no-cache--selectweather-goat-pp-cli <command> --agent --select id,name
weather-goat-pp-cli <command> --agent --select items.id,items.owner.name--selectweather-goat-pp-cli <command> --agent --select id,name
weather-goat-pp-cli <command> --agent --select items.id,items.owner.name| Code | Meaning |
|---|---|
| 0 | Success |
| 2 | Usage error |
| 3 | Location not found (geocoding failed) |
| 5 | API error (Open-Meteo or NWS issue) |
| 7 | Rate limited (very rare; Open-Meteo is unlimited) |
| 代码 | 含义 |
|---|---|
| 0 | 成功 |
| 2 | 使用错误 |
| 3 | 地点未找到(地理编码失败) |
| 5 | API错误(Open-Meteo或NWS故障) |
| 7 | 速率限制(非常罕见;Open-Meteo无限制) |
go install github.com/mvanhorn/printing-press-library/library/other/weather-goat/cmd/weather-goat-pp-cli@latest
weather-goat-pp-cli config set-location "Your City, ST"
weather-goat-pp-cli doctorgo install github.com/mvanhorn/printing-press-library/library/other/weather-goat/cmd/weather-goat-pp-cli@latest
weather-goat-pp-cli config set-location "Your City, ST"
weather-goat-pp-cli doctorgo install github.com/mvanhorn/printing-press-library/library/other/weather-goat/cmd/weather-goat-pp-mcp@latest
claude mcp add weather-goat-pp-mcp -- weather-goat-pp-mcpgo install github.com/mvanhorn/printing-press-library/library/other/weather-goat/cmd/weather-goat-pp-mcp@latest
claude mcp add weather-goat-pp-mcp -- weather-goat-pp-mcp$ARGUMENTShelp--helpweather-goat-pp-cli --helpinstallinstall mcpgo <activity> [location] --agentalerts [location] --agentcompare <loc1> <loc2> --agentforecast [location]$ARGUMENTShelp--helpweather-goat-pp-cli --helpinstallinstall mcpgo <activity> [location] --agentalerts [location] --agentcompare <loc1> <loc2> --agentforecast [location]undefinedundefined
Flag precedence: explicit flag > env var > profile > default.
标志优先级:显式标志 > 环境变量 > 配置文件 > 默认值。weather-goat-pp-cli <command> --deliver file:/path/to/out.json
weather-goat-pp-cli <command> --deliver webhook:https://hooks.example/inapplication/jsonapplication/x-ndjson--compactweather-goat-pp-cli <command> --deliver file:/path/to/out.json
weather-goat-pp-cli <command> --deliver webhook:https://hooks.example/inapplication/json--compactapplication/x-ndjsonweather-goat-pp-cli feedback "what surprised you or tripped you up"
weather-goat-pp-cli feedback list # show local entries
weather-goat-pp-cli feedback clear --yes # wipe~/.weather-goat-pp-cli/feedback.jsonlWEATHER_GOAT_FEEDBACK_ENDPOINT--sendWEATHER_GOAT_FEEDBACK_AUTO_SEND=trueweather-goat-pp-cli feedback "what surprised you or tripped you up"
weather-goat-pp-cli feedback list # 显示本地记录
weather-goat-pp-cli feedback clear --yes # 清空记录~/.weather-goat-pp-cli/feedback.jsonlWEATHER_GOAT_FEEDBACK_ENDPOINT--sendWEATHER_GOAT_FEEDBACK_AUTO_SEND=true