Documentation
¶
Index ¶
Constants ¶
View Source
const (
BANNER = `` /* 724-byte string literal not displayed */
)
Variables ¶
View Source
var AboutCommand = &cobra.Command{ Use: "about", Short: "About GoCD CLI", Run: func(cmd *cobra.Command, args []string) { ct := strings.ToLower(os.Getenv(`COLORTERM`)) var w io.Writer if `truecolor` == ct || `24bit` == ct { w = lol.NewTruecolorLolWriter() } else { w = lol.NewLolWriter() } fmt.Fprintf(w, BANNER, meta.VersionString()) }, }
View Source
var RootCmd = &cobra.Command{ Use: "gocd", Short: "A command-line companion to a GoCD server", ValidArgs: []string{"config", "configrepo", "help"}, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.