version

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 2 Imported by: 1

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL