Documentation ¶
Index ¶
- func NoColor()
- func ShowCommunityInfo()
- type ExecutionContext
- type OutVars
- type Output
- func (ref *Output) Error(errType string, data string)
- func (ref *Output) Info(infoType string, params ...OutVars)
- func (ref *Output) LogDump(logType, data string, params ...OutVars)
- func (ref *Output) Message(data string)
- func (ref *Output) Prompt(data string)
- func (ref *Output) State(state string, params ...OutVars)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShowCommunityInfo ¶
func ShowCommunityInfo()
Types ¶
type ExecutionContext ¶
type ExecutionContext struct { Out *Output // contains filtered or unexported fields }
func NewExecutionContext ¶
func NewExecutionContext(cmdName string) *ExecutionContext
func (*ExecutionContext) AddCleanupHandler ¶
func (ref *ExecutionContext) AddCleanupHandler(handler func())
func (*ExecutionContext) Exit ¶
func (ref *ExecutionContext) Exit(exitCode int)
func (*ExecutionContext) FailOn ¶
func (ref *ExecutionContext) FailOn(err error)
Click to show internal directories.
Click to hide internal directories.