cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayVersion

func DisplayVersion(w io.Writer)

DisplayVersion will display the current version of the application

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewCompletionCommand

func NewCompletionCommand(root *cobra.Command) *cobra.Command

NewCompletionCommand creates a new `completion` command

func NewRootCommand

func NewRootCommand() *cobra.Command

NewRootCommand initialises any configuration required

func NewVersionCommand

func NewVersionCommand() *cobra.Command

NewVersionCommand adds a `version` command

Types

This section is empty.

Directories

Path Synopsis
ado

Jump to

Keyboard shortcuts

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