Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildBranch string
View Source
var BuildCommit string
View Source
var BuildVersion string
Functions ¶
func AddCommands ¶
func AddCommands()
Types ¶
type AboutCommand ¶
type AboutCommand struct {
}
func NewAboutCommand ¶
func NewAboutCommand() *AboutCommand
func (*AboutCommand) AddOptions ¶
func (cmd *AboutCommand) AddOptions(set shell.CmdSet)
type AuthTopic ¶
func NewAuthTopic ¶
func NewAuthTopic() *AuthTopic
func (*AuthTopic) GetDescription ¶
type BenchmarkTopic ¶
func NewBenchmarkTopic ¶
func NewBenchmarkTopic() *BenchmarkTopic
func (*BenchmarkTopic) GetDescription ¶
func (a *BenchmarkTopic) GetDescription() string
func (*BenchmarkTopic) GetKey ¶
func (a *BenchmarkTopic) GetKey() string
func (*BenchmarkTopic) GetTitle ¶
func (a *BenchmarkTopic) GetTitle() string
func (*BenchmarkTopic) WriteAbout ¶
func (a *BenchmarkTopic) WriteAbout(o io.Writer) error
type SubTopicInterface ¶
SubTopicInterface -- Some about topics may have sub topics
type SubstitutionTopic ¶
func NewSubstitutionTopic ¶
func NewSubstitutionTopic() *SubstitutionTopic
func (*SubstitutionTopic) GetDescription ¶
func (a *SubstitutionTopic) GetDescription() string
func (*SubstitutionTopic) GetKey ¶
func (a *SubstitutionTopic) GetKey() string
func (*SubstitutionTopic) GetTitle ¶
func (a *SubstitutionTopic) GetTitle() string
func (*SubstitutionTopic) WriteAbout ¶
func (a *SubstitutionTopic) WriteAbout(o io.Writer) error
func (*SubstitutionTopic) WriteSubTopic ¶
func (a *SubstitutionTopic) WriteSubTopic(o io.Writer, fname string) error
type TopicInterface ¶
type TopicInterface interface {
GetKey() string // Key for lookup and sub-command
GetTitle() string // Title for help display
GetDescription() string // Decription of key in lists
WriteAbout(io.Writer) error // The text to display about the topic
}
TopicInterface -- THe minumum supported interface for about topics
type VersionCommand ¶
func NewVersionCommand ¶
func NewVersionCommand() *VersionCommand
func (*VersionCommand) AddOptions ¶
func (cmd *VersionCommand) AddOptions(set shell.CmdSet)
func (*VersionCommand) Execute ¶
func (cmd *VersionCommand) Execute(args []string) error
Click to show internal directories.
Click to hide internal directories.