cmd

package
v0.1.1447 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *logger.Logger

Logger is exposed here so we can access it from subcommands. This allows us to print to the log at anytime from within the `cmd` package.

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