Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶ added in v2.1.0
Cmd represents a command to be executed. It extends the execabs.Cmd struct and adds fields for controlling the command's execution, such as whether it should be executed in private mode (with output discarded) and whether its execution should be traced.
func (*Cmd) Run ¶ added in v2.2.0
Run executes the command and waits for it to complete. If the Trace field is nil, it is set to true. The Env, Stdout, and Stderr fields are set to their default values if they are nil. If the Private field is true, the Stdout field is set to io.Discard. If the Trace field is true, the command line is printed to Stdout.
type DeepStringMapFlag ¶
type DeepStringMapFlag struct {
// contains filtered or unexported fields
}
func (*DeepStringMapFlag) Set ¶
func (d *DeepStringMapFlag) Set(value string) error
func (*DeepStringMapFlag) String ¶
func (d *DeepStringMapFlag) String() string
type StringMapFlag ¶
type StringMapFlag struct {
// contains filtered or unexported fields
}
func (*StringMapFlag) Get ¶
func (s *StringMapFlag) Get() map[string]string
func (*StringMapFlag) Set ¶
func (s *StringMapFlag) Set(value string) error
func (*StringMapFlag) String ¶
func (s *StringMapFlag) String() string
type StringSliceFlag ¶
type StringSliceFlag struct {
// contains filtered or unexported fields
}
StringSliceFlag is a flag type which support comma separated values and escaping to not split at unwanted lines.
func (*StringSliceFlag) Get ¶
func (s *StringSliceFlag) Get() []string
func (*StringSliceFlag) Set ¶
func (s *StringSliceFlag) Set(value string) error
func (*StringSliceFlag) String ¶
func (s *StringSliceFlag) String() string