Documentation
¶
Overview ¶
Package commands containers all the commands for the application CLI
Index ¶
- type Controller
- func (ctrl *Controller) Init(ctx *cli.Context) error
- func (ctrl *Controller) Lint(ctx *cli.Context) error
- func (ctrl *Controller) List(ctx *cli.Context) error
- func (ctrl *Controller) New(args []string, flags FlagsNew) error
- func (ctrl *Controller) Prepare(e *engine.Engine, src *scaffold.ScaffoldRC)
- func (ctrl *Controller) Update(ctx *cli.Context) error
- type Flags
- type FlagsNew
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { // Flags contains the CLI flags // that are from the root command Flags Flags // contains filtered or unexported fields }
func (*Controller) Init ¶
func (ctrl *Controller) Init(ctx *cli.Context) error
func (*Controller) Lint ¶
func (ctrl *Controller) Lint(ctx *cli.Context) error
func (*Controller) List ¶
func (ctrl *Controller) List(ctx *cli.Context) error
func (*Controller) New ¶ added in v0.0.90
func (ctrl *Controller) New(args []string, flags FlagsNew) error
func (*Controller) Prepare ¶
func (ctrl *Controller) Prepare(e *engine.Engine, src *scaffold.ScaffoldRC)
Prepare sets up the controller to be called by the CLI, if the controller is not prepared it will panic
func (*Controller) Update ¶
func (ctrl *Controller) Update(ctx *cli.Context) error
Click to show internal directories.
Click to hide internal directories.