Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CFG = &cli.StringFlag{
Name: "config, c",
Usage: "Load configuration from `FILE`",
}
View Source
var NewCmd = &cli.Command{ Name: "new", Aliases: []string{"n"}, Usage: "creates something new", Subcommands: []*cli.Command{ NewProjectCmd, }, }
View Source
var NewProjectCmd = &cli.Command{ Name: "project", Aliases: []string{"p"}, Usage: "create a project", Flags: []cli.Flag{ &cli.StringFlag{Name: "name, n", Usage: "name of the project"}, &cli.StringFlag{Name: "template, t", Usage: "project template"}, }, Action: newProjectAction, }
View Source
var ( StartCmd = &cli.Command{ Name: "start", Action: startHandler, Before: altsrc.InitInputSourceWithContext(startFlags, altsrc.NewYamlSourceFromFlagFunc("config")), Flags: startFlags, } )
Functions ¶
func LoadConfig ¶
func LoadConfig(c *cli.Context) error
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.