Documentation
¶
Overview ¶
Package cmdlib contains common base tool.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTaskPriority = 140
DefaultTaskPriority is the default priority for a swarming task.
Functions ¶
func RegisterRemovalReason ¶
func RegisterRemovalReason(rr *rem.RemovalReason, f *flag.FlagSet)
RegisterRemovalReason sets up the command line arguments for specifying a removal reason.
Types ¶
type CommonFlags ¶
type CommonFlags struct {
// contains filtered or unexported fields
}
CommonFlags controls some commonly-used CLI flags.
func (*CommonFlags) Register ¶
func (f *CommonFlags) Register(fl *flag.FlagSet)
Register sets up the common flags.
func (*CommonFlags) Verbose ¶
func (f *CommonFlags) Verbose() bool
Verbose returns if the command is set to verbose mode.
Click to show internal directories.
Click to hide internal directories.