chore: Shorter descriptions
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
parent
985f8a53d3
commit
df389705a0
6 changed files with 7 additions and 8 deletions
|
@ -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,
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue