Skip to content

Commit f686465

Browse files
committed
add description to version command
1 parent af3e6c4 commit f686465

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

cli/cmd/version.go

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,8 @@ func AddVersionCmd(rootCmd *cobra.Command) {
2727
version := VersionCmd{
2828
cmd: &cobra.Command{
2929
Use: "version",
30-
Short: "A brief description of your command",
31-
Long: `A longer description that spans multiple lines and likely contains examples
32-
and usage of using your command. For example:
33-
34-
Cobra is a CLI library for Go that empowers applications.
35-
This application is a tool to generate the needed files
36-
to quickly create a Cobra application.`,
30+
Short: "Print version",
31+
Long: `Prints current version of Codesphere CLI.`,
3732
},
3833
}
3934
rootCmd.AddCommand(version.cmd)

0 commit comments

Comments
 (0)