Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandAlias ¶
type CommandAlias struct {
Name string
}
type CommandBuilder ¶
type CommandBuilder struct {
// contains filtered or unexported fields
}
func NewCommandBuilder ¶
func NewCommandBuilder(filePath string, data *CommandData) *CommandBuilder
func (*CommandBuilder) Build ¶
func (cb *CommandBuilder) Build() error
func (*CommandBuilder) Execute ¶
func (cb *CommandBuilder) Execute() error
type CommandData ¶
type CommandData struct { SourceHeaderLicense string CommandName string PackageName string Short string Long string Children []CommandDataChildren Flags []CommandFlag Aliases []CommandAlias }
type CommandDataChildren ¶
Click to show internal directories.
Click to hide internal directories.