Skip to content

Commit 01bcd67

Browse files
committed
fix help for 'atmos about non-existent'
1 parent 15bad9a commit 01bcd67

File tree

61 files changed

+1250
-25
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1250
-25
lines changed

cmd/about.go

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,10 @@ var aboutMarkdown string
1414

1515
// aboutCmd represents the about command
1616
var aboutCmd = &cobra.Command{
17-
Use: "about",
18-
Short: "Learn about Atmos",
19-
Long: `Display information about Atmos, its features, and benefits.`,
20-
Args: cobra.NoArgs,
21-
DisableSuggestions: true,
22-
SilenceUsage: true,
23-
SilenceErrors: true,
17+
Use: "about",
18+
Short: "Learn about Atmos",
19+
Long: `Display information about Atmos, its features, and benefits.`,
20+
Args: cobra.NoArgs,
2421
RunE: func(cmd *cobra.Command, args []string) error {
2522
renderer, err := glamour.NewTermRenderer(
2623
glamour.WithAutoStyle(),

tests/snapshots/TestCLICommands_atmos_--help#01.stderr.golden

Whitespace-only changes.

tests/snapshots/TestCLICommands_atmos_--help#01.stdout.golden

Lines changed: 62 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/snapshots/TestCLICommands_atmos_about_--help.stderr.golden

Whitespace-only changes.

tests/snapshots/TestCLICommands_atmos_about_--help.stdout.golden

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/snapshots/TestCLICommands_atmos_about_non-existent.stderr.golden

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/snapshots/TestCLICommands_atmos_about_non-existent.stdout.golden

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/snapshots/TestCLICommands_atmos_atlantis.stderr.golden

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/snapshots/TestCLICommands_atmos_atlantis.stdout.golden

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/snapshots/TestCLICommands_atmos_atlantis_--help.stderr.golden

Whitespace-only changes.

tests/snapshots/TestCLICommands_atmos_atlantis_--help.stdout.golden

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/snapshots/TestCLICommands_atmos_atlantis_generate.stderr.golden

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/snapshots/TestCLICommands_atmos_atlantis_generate.stdout.golden

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/snapshots/TestCLICommands_atmos_atlantis_generate_--help.stderr.golden

Whitespace-only changes.

tests/snapshots/TestCLICommands_atmos_atlantis_generate_--help.stdout.golden

Lines changed: 55 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/snapshots/TestCLICommands_atmos_atlantis_generate_help.stderr.golden

Whitespace-only changes.

tests/snapshots/TestCLICommands_atmos_atlantis_generate_help.stdout.golden

Lines changed: 55 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/snapshots/TestCLICommands_atmos_atlantis_generate_repo-config.stderr.golden

Whitespace-only changes.

tests/snapshots/TestCLICommands_atmos_atlantis_generate_repo-config.stdout.golden

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/snapshots/TestCLICommands_atmos_atlantis_generate_repo-config_--help.stderr.golden

Whitespace-only changes.

0 commit comments

Comments
 (0)