Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppVersion string
View Source
var RootCmd = &cli.App{ Name: "web-cli", Usage: "A toolkit to for web development", Commands: []*cli.Command{ react.CommandSet, vue.CommandSet, admingo.CommandSet, npm.CommandSet, }, Version: AppVersion, Flags: []cli.Flag{ &cli.BoolFlag{ Name: "verbose", Aliases: []string{"vv"}, Usage: "verbose mode", Value: false, DefaultText: "false", }, }, Before: func(c *cli.Context) error { if c.Bool("verbose") { zerolog.SetGlobalLevel(zerolog.DebugLevel) } return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.