1
0
mirror of synced 2026-02-13 13:06:56 +00:00

add a preview note for all non-bootstrap commands

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
This commit is contained in:
Sanskar Jaiswal
2023-04-04 18:05:48 +05:30
committed by Stefan Prodan
parent 52acac1a37
commit 97b064be13
116 changed files with 141 additions and 129 deletions

View File

@@ -29,7 +29,7 @@ var getAlertProviderCmd = &cobra.Command{
Use: "alert-providers",
Aliases: []string{"alert-provider"},
Short: "Get Provider statuses",
Long: "The get alert-provider command prints the statuses of the resources.",
Long: withPreviewNote("The get alert-provider command prints the statuses of the resources."),
Example: ` # List all Providers and their status
flux get alert-providers`,
ValidArgsFunction: resourceNamesCompletionFunc(notificationv1.GroupVersion.WithKind(notificationv1.ProviderKind)),