diff --git a/cmd/cache.go b/cmd/cache.go index 66280dd..1bda748 100644 --- a/cmd/cache.go +++ b/cmd/cache.go @@ -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, } diff --git a/cmd/forecast.go b/cmd/forecast.go index 8ddb6ec..9d629d3 100644 --- a/cmd/forecast.go +++ b/cmd/forecast.go @@ -10,7 +10,7 @@ import ( var forecastCmd = &cobra.Command{ Use: "forecast ", Aliases: []string{"f", "ls"}, - Short: "Get forecasted weather", + Short: "Forecasted weather", Args: cobra.MaximumNArgs(1), Run: forecast, } diff --git a/cmd/now.go b/cmd/now.go index c7b8b54..dd332d4 100644 --- a/cmd/now.go +++ b/cmd/now.go @@ -10,7 +10,7 @@ import ( var nowCmd = &cobra.Command{ Use: "now ", Aliases: []string{"current", "n"}, - Short: "Get current forecasted weather", + Short: "Current forecasted weather", Args: cobra.MaximumNArgs(1), Run: now, } diff --git a/cmd/root.go b/cmd/root.go index 749dc1c..d96dd0e 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -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, } diff --git a/cmd/today.go b/cmd/today.go index cb2a153..7a7c80e 100644 --- a/cmd/today.go +++ b/cmd/today.go @@ -10,7 +10,7 @@ import ( var todayCmd = &cobra.Command{ Use: "today ", - Short: "Get tomorrow's forecasted weather", + Short: "Today's forecasted weather", Args: cobra.MaximumNArgs(1), Run: today, } diff --git a/cmd/tomorrow.go b/cmd/tomorrow.go index bda9641..e3f8f8d 100644 --- a/cmd/tomorrow.go +++ b/cmd/tomorrow.go @@ -15,7 +15,7 @@ import ( var tomorrowCmd = &cobra.Command{ Use: "tomorrow ", Aliases: []string{"twm", "trm"}, - Short: "Get tomorrow's forecasted weather", + Short: "Tomorrow's forecasted weather", Args: cobra.MaximumNArgs(1), Run: tomorrow, }