Documentation ¶
Index ¶
Constants ¶
View Source
const JsonError = `{"error": "unable to output json from this command"}`
Variables ¶
This section is empty.
Functions ¶
func Print ¶
func Print(output CommandOutput)
Types ¶
type CommandOutput ¶
type CommandOutput interface { Human() HumanVerbose() Json() }
type StringArray ¶
type StringArray []string
func (StringArray) Human ¶
func (p StringArray) Human()
func (StringArray) HumanVerbose ¶
func (p StringArray) HumanVerbose()
func (StringArray) Json ¶
func (p StringArray) Json()
Click to show internal directories.
Click to hide internal directories.