Skip to content

Commit

Permalink
Hide enterprise and unhide channel commands
Browse files Browse the repository at this point in the history
  • Loading branch information
divolgin committed Jan 17, 2025
1 parent 7c54d29 commit 8673492
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion cli/cmd/channel_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ func (r *runners) InitChannelCreate(parent *cobra.Command) {
Example:
replicated channel create --name Beta --description 'New features subject to change'`,
}
cmd.Hidden = true // Not supported in KOTS
parent.AddCommand(cmd)

cmd.Flags().StringVar(&r.args.channelCreateName, "name", "", "The name of this channel")
Expand Down
1 change: 0 additions & 1 deletion cli/cmd/channel_disable_semantic_versioning.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ func (r *runners) InitChannelDisableSemanticVersioning(parent *cobra.Command) {
Example:
replicated channel disable-semantic-versioning CHANNEL_ID`,
}
cmd.Hidden = true // Not supported in KOTS
parent.AddCommand(cmd)
cmd.RunE = r.channelDisableSemanticVersioning
}
Expand Down
1 change: 0 additions & 1 deletion cli/cmd/channel_enable_semantic_versioning.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ func (r *runners) InitChannelEnableSemanticVersioning(parent *cobra.Command) {
Example:
replicated channel enable-semantic-versioning CHANNEL_ID`,
}
cmd.Hidden = true // Not supported in KOTS
parent.AddCommand(cmd)
cmd.RunE = r.channelEnableSemanticVersioning
}
Expand Down
1 change: 1 addition & 0 deletions cli/cmd/enterpriseportal.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ func (r *runners) InitEnterprisePortalCommand(parent *cobra.Command) *cobra.Comm
Short: "Manage enterprise portal",
Long: ``,
Example: ` `,
Hidden: true,
}
parent.AddCommand(cmd)

Expand Down

0 comments on commit 8673492

Please sign in to comment.