chore: Shorter descriptions

Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
Tim Hårek Andreassen 2024-10-18 09:28:18 +02:00
parent 985f8a53d3
commit df389705a0
No known key found for this signature in database
GPG key ID: E59C7734F0E10EB5
6 changed files with 7 additions and 8 deletions

View file

@ -10,13 +10,13 @@ import (
var cacheCmd = &cobra.Command{
Use: "cache",
Short: "Get details about your cached locations",
Short: "List cached locations",
Args: cobra.MaximumNArgs(0),
Run: caches,
}
var cacheClearCmd = &cobra.Command{
Use: "clear",
Short: "Clear cache",
Short: "Clear cached locations",
Args: cobra.MaximumNArgs(0),
Run: cachesClear,
}

View file

@ -10,7 +10,7 @@ import (
var forecastCmd = &cobra.Command{
Use: "forecast <location>",
Aliases: []string{"f", "ls"},
Short: "Get forecasted weather",
Short: "Forecasted weather",
Args: cobra.MaximumNArgs(1),
Run: forecast,
}

View file

@ -10,7 +10,7 @@ import (
var nowCmd = &cobra.Command{
Use: "now <location>",
Aliases: []string{"current", "n"},
Short: "Get current forecasted weather",
Short: "Current forecasted weather",
Args: cobra.MaximumNArgs(1),
Run: now,
}

View file

@ -8,8 +8,7 @@ import (
var rootCmd = &cobra.Command{
Use: "yr",
Short: "Get the weather for your desired location.",
Long: `Get the weather for your desired location.`,
Short: "yr is CLI tool for weather forecasts",
Run: root,
}

View file

@ -10,7 +10,7 @@ import (
var todayCmd = &cobra.Command{
Use: "today <location>",
Short: "Get tomorrow's forecasted weather",
Short: "Today's forecasted weather",
Args: cobra.MaximumNArgs(1),
Run: today,
}

View file

@ -15,7 +15,7 @@ import (
var tomorrowCmd = &cobra.Command{
Use: "tomorrow <location>",
Aliases: []string{"twm", "trm"},
Short: "Get tomorrow's forecasted weather",
Short: "Tomorrow's forecasted weather",
Args: cobra.MaximumNArgs(1),
Run: tomorrow,
}