cmd

package
v0.1.6715 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: MIT Imports: 37 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PackageManager = "source"

PackageManager defines the package manager which was used to install the CLI. You can override this value using -X flag to the compiler ldflags.

Functions

func Execute

func Execute()

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

func MakeCommands

func MakeCommands() *cobra.Command

MakeCommands creates the top level commands

Types

This section is empty.

Jump to

Keyboard shortcuts

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