Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Version is set at build time via ldflags.
View Source
var VersionCmd = &cobra.Command{ Use: "version", Aliases: []string{"v"}, Short: "Print the CLI version", Run: func(cmd *cobra.Command, args []string) { fmt.Printf("cws %s\n", Version) }, }
VersionCmd is the version subcommand.
Functions ¶
func FormatState ¶
FormatState converts an API state string to a human-readable label.
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.