Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve kctrl dev command description #1000

Merged
merged 1 commit into from
Dec 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cli/pkg/kctrl/cmd/dev/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ func NewDevOptions(ui ui.UI, depsFactory cmdcore.DepsFactory, logger logger.Logg
func NewCmd(o *DevOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command {
cmd := &cobra.Command{
Use: "dev",
Short: "Deploy App CRs and packaging CRs",
Short: "Deploy App CRs, Package CRs and PackageInstall CRs",
RunE: func(_ *cobra.Command, _ []string) error { return o.Run() },
Annotations: map[string]string{
cmdcore.DevHelpGroup.Key: cmdcore.DevHelpGroup.Value,
},
}

o.NamespaceFlags.Set(cmd, flagsFactory)
cmd.Flags().StringSliceVarP(&o.Files, "file", "f", nil, "Set App CR file (required)")
cmd.Flags().StringSliceVarP(&o.Files, "file", "f", nil, "Set file name (required)")

cmd.Flags().BoolVarP(&o.Local, "local", "l", false, "Use local fetch source")
cmd.Flags().BoolVarP(&o.KbldBuild, "kbld-build", "b", false, "Allow kbld build")
Expand Down