Documentation
¶
Overview ¶
Package cmd contains the command-line tooling.
Index ¶
- func Execute() int
- func RunDepsForGoal(ctx context.Context, e *master.InterfaceExecutor, phases []*group.Phase) func(*cobra.Command, []string) error
- func RunGoal(ctx context.Context, e *master.InterfaceExecutor, phases []*group.Phase) func(*cobra.Command, []string) error
- func TemplateFile(_ *cobra.Command, args []string)
- type CmdBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute() int
Execute locates and loads configuration, loads the configured plugins, sets up the root command, and attaches the various run subcommands.
func RunDepsForGoal ¶ added in v0.1.0
func RunDepsForGoal( ctx context.Context, e *master.InterfaceExecutor, phases []*group.Phase, ) func(*cobra.Command, []string) error
RunDepsForGoal returns a command runner for cobra that will report the order of execution for the goal or subtask.
func RunGoal ¶
func RunGoal( ctx context.Context, e *master.InterfaceExecutor, phases []*group.Phase, ) func(*cobra.Command, []string) error
RunGoal returns a command runner for cobra that will execute a particular goal or subtask.
func TemplateFile ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.