Documentation
¶
Overview ¶
Package themes provides the defined CLI theme commands for Vela.
Usage:
import "github.com/go-vela/cli/command/themes"
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CommandView = &cli.Command{ Name: "themes", Description: "Use this command to view available color themes.", Usage: "View available color themes for syntax highlighting", Action: view, Flags: []cli.Flag{ &cli.StringFlag{ Sources: cli.EnvVars("VELA_OUTPUT", "THEME_OUTPUT"), Name: internal.FlagOutput, Aliases: []string{"op"}, Usage: "format the output in json, spew or yaml", }, }, CustomHelpTemplate: fmt.Sprintf(`%s EXAMPLES: 1. View available color themes. $ {{.FullName}} 2. View available color themes with JSON output. $ {{.FullName}} --output json 3. View available color themes with YAML output. $ {{.FullName}} --output yaml DOCUMENTATION: https://go-vela.github.io/docs/reference/cli/themes/view/ `, cli.CommandHelpTemplate), }
CommandView defines the command for viewing available color themes.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.