Skip to content

Commit

Permalink
fix command error
Browse files Browse the repository at this point in the history
  • Loading branch information
Cerebrovinny committed Jan 6, 2025
1 parent 2ea9ed1 commit 636a343
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions cmd/about.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ var aboutMarkdown string

// aboutCmd represents the about command
var aboutCmd = &cobra.Command{
Use: "about",
Short: "Learn about Atmos",
Long: `Display information about Atmos, its features, and benefits.`,
Use: "about",
Short: "Learn about Atmos",
Long: `Display information about Atmos, its features, and benefits.`,
Args: cobra.NoArgs,
DisableSuggestions: true,
SilenceUsage: true,
SilenceErrors: true,
RunE: func(cmd *cobra.Command, args []string) error {
renderer, err := glamour.NewTermRenderer(
glamour.WithAutoStyle(),
Expand Down
10 changes: 7 additions & 3 deletions cmd/support.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ var supportMarkdown string

// supportCmd represents the support command
var supportCmd = &cobra.Command{
Use: "support",
Short: "Show Atmos support options",
Long: `Display information about Atmos support options, including community resources and paid support.`,
Use: "support",
Short: "Show Atmos support options",
Long: `Display information about Atmos support options, including community resources and paid support.`,
Args: cobra.NoArgs,
DisableSuggestions: true,
SilenceUsage: true,
SilenceErrors: true,
RunE: func(cmd *cobra.Command, args []string) error {
renderer, err := glamour.NewTermRenderer(
glamour.WithAutoStyle(),
Expand Down

0 comments on commit 636a343

Please sign in to comment.