Documentation
¶
Index ¶
- func StrExec(str string) error
- type Cmd
- func (c *Cmd) AddFlags(flags ...string)
- func (c *Cmd) AddFlagsImplicit(flags ...string)
- func (c *Cmd) AddOptions(options ...rune)
- func (c *Cmd) AddStringFlag(flag string, value string)
- func (c *Cmd) Exec()
- func (c *Cmd) ExecHandleErr() error
- func (c *Cmd) FormNoArgs() string
- func (c *Cmd) FormWithArgs() string
- func (c *Cmd) FormWithSubstitute(substitution string) string
- func (c *Cmd) SetBinary(bin string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cmd ¶
type Cmd struct {
Command string // the output command after forming
// contains filtered or unexported fields
}
func (*Cmd) AddFlagsImplicit ¶
func (*Cmd) AddOptions ¶
func (*Cmd) AddStringFlag ¶
func (*Cmd) ExecHandleErr ¶
func (*Cmd) FormNoArgs ¶
func (*Cmd) FormWithArgs ¶
func (*Cmd) FormWithSubstitute ¶
Click to show internal directories.
Click to hide internal directories.