-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.toml
More file actions
16 lines (15 loc) · 965 Bytes
/
Copy pathplugin.toml
File metadata and controls
16 lines (15 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[plugin]
name = "fledge-plugin-weather"
version = "0.1.2"
description = "Terminal weather reports powered by Open-Meteo"
authors = ["CorvidLabs"]
repository = "https://github.com/CorvidLabs/fledge-plugin-weather"
[[commands]]
name = "weather"
binary = "bin/fledge-weather"
description = "Show current weather and forecast in the terminal. Pass a city name as location, or omit to auto-detect from IP."
args = [
{ name = "location", type = "string", required = false, description = "City name to look up (e.g. 'Denver', 'San Francisco', 'Tokyo'). Append a country to disambiguate, e.g. 'São Paulo, Brazil'. Omit to auto-detect from your public IP." },
{ name = "forecast", type = "boolean", required = false, description = "Include a 7-day forecast in addition to current conditions." },
{ name = "units", type = "string", required = false, description = "Temperature/distance units: 'metric' (default, °C and km/h) or 'imperial' (°F and mph)." },
]