Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VersionCommand ¶
type VersionCommand struct {
helper.Base
Formatter *helper.FormatterFlag
}
VersionCommand is the command to show the version of the agent
func (*VersionCommand) DefineFlags ¶
func (c *VersionCommand) DefineFlags()
DefineFlags defines the command flags
func (*VersionCommand) GetBaseCommand ¶
func (c *VersionCommand) GetBaseCommand() string
func (*VersionCommand) GetHelperText ¶
func (c *VersionCommand) GetHelperText() string
GetHelperText returns a simple description of the command
func (*VersionCommand) Help ¶
func (c *VersionCommand) Help() string
Help implements the cli.Command interface
func (*VersionCommand) Run ¶
func (c *VersionCommand) Run(args []string) int
Run implements the cli.Command interface
func (*VersionCommand) Synopsis ¶
func (c *VersionCommand) Synopsis() string
Synopsis implements the cli.Command interface
type VersionResult ¶
type VersionResult struct {
Verstion string `json:"version"`
}
func (*VersionResult) Output ¶
func (r *VersionResult) Output() string
Click to show internal directories.
Click to hide internal directories.