Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppHelpTemplate = fmt.Sprintf(color.HiCyanString("\nDops - CLI DevOps Toolkit") + ` {{if .VisibleFlags}}` + color.HiYellowString(`Global options`) + ` {{range $index, $option := .VisibleFlags}}{{if $index}} {{end}}{{$option}}{{end}}{{end}} {{if .VisibleCommands}}` + color.HiYellowString(`Modules`) + `{{range .VisibleCategories}}{{if .Name}} [` + color.HiCyanString(`{{.Name}}`) + `]{{range .VisibleCommands}} · ` + color.HiMagentaString(`{{join .Names ", "}}`) + color.HiRedString(`{{"\t|\t"}}`) + `{{.Usage}}{{end}}{{else}}{{range .VisibleCommands}} · ` + color.HiMagentaString(`{{join .Names ", "}}`) + color.HiRedString(`{{"\t|\t"}}`) + `{{.Usage}}{{end}}{{end}}{{end}}{{end}} ` + color.HiRedString("Contribute to this tool here: https://github.com/dops-cli ") + color.RedString("<3"))
AppHelpTemplate contains the template of dops help text.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.