Documentation
¶
Index ¶
- type Command
- func (c *Command) Alias() []string
- func (c *Command) Args() []string
- func (c *Command) Deps() Commands
- func (c *Command) Envs() []yaml.MapSlice
- func (c *Command) ExecString() string
- func (c *Command) HasArgs() bool
- func (c *Command) HasSubCommands() bool
- func (c *Command) Help() string
- func (c *Command) Name() string
- func (c *Command) Path() string
- func (c *Command) SubCommands() Commands
- type Commands
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func (*Command) Envs ¶ added in v1.2.0
Envs returns the ordered scope chain that applies to this command, from the outermost ancestor scope down to the command's own scope. Empty if no ancestor or this command declared an 'env:' section.
func (*Command) ExecString ¶
func (*Command) HasSubCommands ¶
func (*Command) SubCommands ¶
Click to show internal directories.
Click to hide internal directories.