Skip to content

Commit

Permalink
Fixing #8043 - adding long form commands and aliasing abbreviations
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Beenham <Nicholas_Beenham@cable.comcast.com>
  • Loading branch information
superbeeny committed Nov 20, 2024
1 parent 654ce08 commit 7f2ee9f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions cmd/rad/cmd/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ func init() {

func NewEnvironmentCommand() *cobra.Command {
return &cobra.Command{
Use: "env",
Short: "Manage Radius Environments",
Use: "environment",
Aliases: []string{"env"},
Short: "Manage Radius Environments",
Long: `Manage Radius Environments
Radius Environments are prepared “landing zones” for Radius Applications. Applications deployed to an environment will inherit the container runtime, configuration, and other settings from the environment.`,
}
Expand Down
5 changes: 3 additions & 2 deletions pkg/cli/cmd/radinit/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ func NewCommand(factory framework.Factory) (*cobra.Command, framework.Runner) {
runner := NewRunner(factory)

cmd := &cobra.Command{
Use: "init",
Short: "Initialize Radius",
Use: "initialize",
Aliases: []string{"init"},
Short: "Initialize Radius",
Long: `
Interactively install the Radius control-plane and setup an environment.
Expand Down

0 comments on commit 7f2ee9f

Please sign in to comment.