cmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdToolbox = &cobra.Command{
	Use:     "toolbox",
	Short:   "toolbox",
	Version: cmd.Version,

	Run: func(c *cobra.Command, args []string) {
		if err := c.Help(); err != nil {
			log.Fatal(err)
		}
	},
}

Functions

func Execute

func Execute()

Types

type ExecData

type ExecData struct {
	Cmd        []string          `json:"cmd,omitempty"`
	Env        map[string]string `json:"env,omitempty"`
	WorkingDir string            `json:"working_dir,omitempty"`
}

Jump to

Keyboard shortcuts

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