cmd

package
v0.0.0-...-d341185 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "development"

Version is the application version. It will be overriden during the build process. See https://www.digitalocean.com/community/tutorials/using-ldflags-to-set-version-information-for-go-applications

Functions

func NewRootCommand

func NewRootCommand(c *Cli) *cobra.Command

Types

type Cli

type Cli struct {
	RootCommand *cobra.Command
	// contains filtered or unexported fields
}

Cli is the core command line interface Wrapping the cli in its own public type might allow it to be integrated in other programs, creating something like a composite application

func NewCli

func NewCli() *Cli

NewCli creates a

Jump to

Keyboard shortcuts

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