Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GenCmd = cli.Command{ Name: "pipe", Description: "Use this command to generate a pipeline", Usage: "Generate a vela pipeline in a directory", Action: gen, Flags: []cli.Flag{ cli.StringFlag{ Name: "type,t", Usage: "Type of generic pipeline to be generated. (go|node|java)", }, cli.StringFlag{ Name: "path,p", Usage: "Filename to use to create the secret or secrets", }, cli.BoolFlag{ Name: "stages,s", Usage: "Define if the pipeline should be generated with stages", }, }, CustomHelpTemplate: fmt.Sprintf(`%s EXAMPLES: 1. Generate a vela pipeline in your current directory." $ {{.HelpName}} 2. Generate a vela pipeline in a current directory." $ {{.HelpName}} -path /path/to/dir/ 3. Generate a node vela pipeline in current directory." $ {{.HelpName}} -type node 4. Generate a java vela pipeline in current directory." $ {{.HelpName}} -type java 5. Generate a go vela pipeline in a current directory." $ {{.HelpName}} -type go 6. Generate a vela pipeline with stages in current directory." $ {{.HelpName}} -stages `, cli.CommandHelpTemplate), }
GenCmd defines the command for generating a pipeline.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.