Skip to content

Commit 9a14f2f

Browse files
Remove api specific public preview help template
1 parent c7d7556 commit 9a14f2f

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

internal/cli/api/api.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,15 @@ func Builder() *cobra.Command {
7171
func createRootAPICommand() *cobra.Command {
7272
rootCmd := &cobra.Command{
7373
Use: "api",
74-
Short: "`Public Preview: please provide feedback <https://feedback.mongodb.com/forums/930808-atlas-cli>`_: " + `Access all features of the Atlas Administration API by using the Atlas CLI with the syntax: 'atlas api <tag> <operationId>'.`,
75-
Long: `This feature in public preview streamlines script development by letting you interact directly with any Atlas Administration API endpoint by using the Atlas CLI.
74+
Short: `Access all features of the Atlas Administration API by using the Atlas CLI with the syntax: 'atlas api <tag> <operationId>'.`,
75+
Long: `This feature streamlines script development by letting you interact directly with any Atlas Administration API endpoint by using the Atlas CLI.
7676
7777
For more information on
7878
- Atlas Administration API see: https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/
7979
- Getting started with the Atlas Administration API: https://www.mongodb.com/docs/atlas/configure-api-access/#std-label-atlas-admin-api-access`,
8080
}
8181

82-
rootCmd.SetHelpTemplate(cli.ExperimentalHelpTemplate)
82+
rootCmd.SetHelpTemplate(cli.HelpTemplate)
8383

8484
return rootCmd
8585
}

internal/cli/help_templates.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,4 @@ const (
2121
2222
{{if or .Runnable .HasSubCommands}}{{.UsageString}}{{end}}`
2323

24-
ExperimentalText = "The atlas api sub-command, " +
25-
"automatically generated from the MongoDB Atlas Admin API, offers full coverage of the Admin API and " +
26-
"is currently in Public Preview (please provide feedback " +
27-
"at https://feedback.mongodb.com/forums/930808-atlas-cli).\n" +
28-
"Admin API capabilities have their own release lifecycle, which you can check via the provided API endpoint " +
29-
"documentation link.\n\n"
30-
31-
ExperimentalHelpTemplate = "Public Preview: " + ExperimentalText + HelpTemplate
3224
)

0 commit comments

Comments
 (0)