Documentation
¶
Index ¶
- type Commandline
- func (c *Commandline) Command(cmd *commands.Command) *Commandline
- func (c *Commandline) Flag(flag flags.Flag) *Commandline
- func (c *Commandline) Hook(t hooks.Type, hook hooks.Hook) *Commandline
- func (c *Commandline) Plugin(plugin plugins.Plugin) *Commandline
- func (c *Commandline) Start(args []string) error
- func (c *Commandline) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commandline ¶
func New ¶
func New(metadata *models.Metadata) *Commandline
func (*Commandline) Command ¶
func (c *Commandline) Command(cmd *commands.Command) *Commandline
func (*Commandline) Flag ¶
func (c *Commandline) Flag(flag flags.Flag) *Commandline
func (*Commandline) Hook ¶
func (c *Commandline) Hook(t hooks.Type, hook hooks.Hook) *Commandline
func (*Commandline) Plugin ¶
func (c *Commandline) Plugin(plugin plugins.Plugin) *Commandline
func (*Commandline) Start ¶
func (c *Commandline) Start(args []string) error
func (*Commandline) String ¶
func (c *Commandline) String() string
Click to show internal directories.
Click to hide internal directories.