run

package
v0.0.0-...-758a821 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CmdUsage     = "run [script]"
	CmdShortDesc = "Run scripts of work"
	CmdLongDesc  = "Run the specified script in your work"

	// Errors
	ErrResourceFileNotFound = "resource file not found"
	ErrWsActionNotFound     = "workspace '%s' action not found"
)

Variables

This section is empty.

Functions

func NewCmdRun

func NewCmdRun(ctx *cmdutil.CmdContext) *cobra.Command

Types

type RunOpts

type RunOpts struct {
	Ctx *cmdutil.CmdContext

	Name       string
	WorkingDir string
	Watch      bool
	Quiet      bool
	Args       []string
	Env        []string
}

Jump to

Keyboard shortcuts

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