command

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: MIT Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(root *cobra.Command)

Execute TODO

func NewRootCommand

func NewRootCommand(program string) *cobra.Command

NewRootCommand TODO

func NewRunCommand

func NewRunCommand(program string, run RunWithConfig) *cobra.Command

NewRunCommand TODO

func NewVersionCommand

func NewVersionCommand() *cobra.Command

NewVersionCommand TODO

Types

type RunWithConfig

type RunWithConfig func(*viper.Viper)

RunWithConfig TODO

Jump to

Keyboard shortcuts

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