Documentation
¶
Index ¶
- type CommandArgument
- func (c *CommandArgument) AddArgument(arg string)
- func (c *CommandArgument) GetArguments() []string
- func (c *CommandArgument) GetCommand() string
- func (c *CommandArgument) GetFlag(key string) (string, bool)
- func (c *CommandArgument) SetCommand(name string)
- func (c *CommandArgument) SetLongOption(key string, value string)
- func (c *CommandArgument) SetShortOption(key string, value string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandArgument ¶
type CommandArgument struct {
// contains filtered or unexported fields
}
func NewCommandArgument ¶
func NewCommandArgument() *CommandArgument
func (*CommandArgument) AddArgument ¶
func (c *CommandArgument) AddArgument(arg string)
func (*CommandArgument) GetArguments ¶
func (c *CommandArgument) GetArguments() []string
func (*CommandArgument) GetCommand ¶
func (c *CommandArgument) GetCommand() string
func (*CommandArgument) SetCommand ¶
func (c *CommandArgument) SetCommand(name string)
func (*CommandArgument) SetLongOption ¶
func (c *CommandArgument) SetLongOption(key string, value string)
func (*CommandArgument) SetShortOption ¶
func (c *CommandArgument) SetShortOption(key string, value string)
Click to show internal directories.
Click to hide internal directories.