Skip to content

Commit

Permalink
chore(backport release-1.2): chore(cli): fix update command example (#…
Browse files Browse the repository at this point in the history
…3375)

Co-authored-by: Prabakaran Kumaresshan <4676330+nixphix@users.noreply.github.com>
  • Loading branch information
akuitybot and nixphix authored Jan 27, 2025
1 parent 5e9cadd commit cf51d11
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/cli/cmd/update/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,13 @@ import (

"github.com/akuity/kargo/internal/cli/config"
"github.com/akuity/kargo/internal/cli/option"
"github.com/akuity/kargo/internal/cli/templates"
)

func NewCommand(cfg config.CLIConfig, streams genericiooptions.IOStreams) *cobra.Command {
cmd := &cobra.Command{
Use: "update SUBCOMMAND",
Short: "Update a resource",
Args: option.NoArgs,
Example: templates.Example(`
# Update the alias of a freight for a specified project
kargo update freight --project=my-project abc123 --alias=my-new-alias
`),
}

// Register subcommands.
Expand Down

0 comments on commit cf51d11

Please sign in to comment.