mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-04 09:08:51 +00:00
add a preview note for all non-bootstrap commands
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
This commit is contained in:
parent
52acac1a37
commit
97b064be13
116 changed files with 141 additions and 129 deletions
|
|
@ -31,7 +31,7 @@ var getAlertCmd = &cobra.Command{
|
|||
Use: "alerts",
|
||||
Aliases: []string{"alert"},
|
||||
Short: "Get Alert statuses",
|
||||
Long: "The get alert command prints the statuses of the resources.",
|
||||
Long: withPreviewNote("The get alert command prints the statuses of the resources."),
|
||||
Example: ` # List all Alerts and their status
|
||||
flux get alerts`,
|
||||
ValidArgsFunction: resourceNamesCompletionFunc(notificationv1.GroupVersion.WithKind(notificationv1.AlertKind)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue