cli

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: Apache-2.0 Imports: 5 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(main *cobra.Command)

Execute sets up common features that all mantle commands should share and then executes the command. It does not return.

func WrapPreRun added in v0.3.0

func WrapPreRun(root *cobra.Command, f PreRunEFunc)

Types

type PreRunEFunc added in v0.3.0

type PreRunEFunc func(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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