From d35171b175336635122f8324050b45b56664a0a9 Mon Sep 17 00:00:00 2001 From: liuhaoming Date: Sun, 29 Sep 2024 15:18:52 +0800 Subject: [PATCH] chore: refine the command descriptions --- pkg/cmd/project/list/cmd.go | 1 + pkg/cmd/release/release.go | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/cmd/project/list/cmd.go b/pkg/cmd/project/list/cmd.go index 803e50f7..41628ac2 100644 --- a/pkg/cmd/project/list/cmd.go +++ b/pkg/cmd/project/list/cmd.go @@ -26,6 +26,7 @@ func NewCmd() *cobra.Command { # List the applied project in a specified backend and specified workspaces kusion project list --backend default --workspace dev,default + # List the applied project in a specified backend and all the workspaces kusion project list --backend default --all`) ) diff --git a/pkg/cmd/release/release.go b/pkg/cmd/release/release.go index df95ffbf..d10eeae1 100644 --- a/pkg/cmd/release/release.go +++ b/pkg/cmd/release/release.go @@ -9,16 +9,16 @@ import ( ) var relLong = i18n.T(` - Commands for managing Kusion release files. + Commands for observing and operating Kusion release files. - These commands help you manage the lifecycle of Kusion release files. `) + These commands help you observe and operate the Kusion release files of a Project in a Workspace. `) // NewCmdRel returns an initialized Command instance for 'release' sub command. func NewCmdRel(streams genericiooptions.IOStreams) *cobra.Command { cmd := &cobra.Command{ Use: "release", DisableFlagsInUseLine: true, - Short: "Manage Kusion release files", + Short: "Observe and operate Kusion release files", Long: templates.LongDesc(relLong), Run: cmdutil.DefaultSubCommandRun(streams.ErrOut), }