Skip to content

Commit

Permalink
feat(cli): use AddCommand directly from parser
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijie-yang committed Jul 16, 2024
1 parent 7a6e701 commit c541687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli-client/internals/cli/cli_upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type CmdUpload struct {
var riskOptions = []string{"stable", "candidate", "beta", "edge"}

func init() {
parser.Command.AddCommand("upload", "Trigger the build and release for a rock",
parser.AddCommand("upload", "Trigger the build and release for a rock",
`Trigger the build of a rock with the rockcraft.yaml in the current working
directory and the release with --release`,
&CmdUpload{})
Expand Down

0 comments on commit c541687

Please sign in to comment.