cli

package
v0.0.0-...-c938c57 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VERBOSE *bool
	WORKDIR *string
)

global cli flags

View Source
var Logger = logger{}

Logger is a shared instance of the cli's logger.

Functions

func Exec

func Exec(command string, args ...string) (string, error)

Exec runs the provided executable (if installed).

func InitFlags

func InitFlags(cmd *cobra.Command)

InitFlags initializes the values of the global flags.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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