Skip to content

Commit

Permalink
fix(cmd): wrap long description onto multiple lines
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuar committed Oct 4, 2023
1 parent 737f4ed commit f2de9fd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ var appID = "com.github.joshuar.go-hass-agent"
var rootCmd = &cobra.Command{
Use: "go-hass-agent",
Short: "A Home Assistant, native app integration for desktop/laptop devices.",
Long: `go-hass-agent reports various sensors from a desktop/laptop to a Home Assistant instance. Sensors include the usual system metrics like load average and memory usage as well as things like current active app where possible.
Long: `go-hass-agent reports various sensors from a desktop/laptop to a Home Assistant instance.
Sensors include the usual system metrics like load average and memory usage as well as things like
current active app where possible.
It can also receive notifications from Home Assistant.`,
It can also receive notifications from Home Assistant.`,
PersistentPreRun: func(cmd *cobra.Command, args []string) {
logging.SetLogging(traceFlag, debugFlag, profileFlag)
},
Expand Down

0 comments on commit f2de9fd

Please sign in to comment.