Versions in this module Expand all Collapse all v0 v0.1.0 Jan 12, 2026 Changes in this version + var Version = "dev" + func Run(args []string, stdout io.Writer, stderr io.Writer) int + type App struct + func (a *App) RenderCurrentWeather(w *weathercli.CurrentWeather) error + func (a *App) RenderForecast(f *weathercli.Forecast) error + func (a *App) RenderLocations(locations []weathercli.Location) error + type Color struct + func NewColor(enabled bool) Color + func (c Color) Blue(s string) string + func (c Color) Bold(s string) string + func (c Color) Cyan(s string) string + func (c Color) Green(s string) string + func (c Color) Magenta(s string) string + func (c Color) Red(s string) string + func (c Color) Yellow(s string) string + type CurrentCmd struct + Location string + func (c *CurrentCmd) Run(app *App) error + type ForecastCmd struct + Days int + Hourly bool + Hours int + Location string + func (c *ForecastCmd) Run(app *App) error + type GlobalOptions struct + BaseURL string + GeoBaseURL string + JSON bool + NoColor bool + Timeout time.Duration + Verbose bool + Version VersionFlag + type Root struct + Current CurrentCmd + Forecast ForecastCmd + Global GlobalOptions + Search SearchCmd + type SearchCmd struct + Limit int + Query string + func (c *SearchCmd) Run(app *App) error + type VersionFlag string + func (v VersionFlag) BeforeApply(app *kong.Kong, vars kong.Vars) error + func (v VersionFlag) Decode(_ *kong.DecodeContext) error + func (v VersionFlag) IsBool() bool