cli

package
v0.0.0-...-a43a839 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args *RunArgs)

func Tasks

func Tasks(args *TasksArgs)

Types

type RunArgs

type RunArgs struct {
	Target       string `arg:"positional" default:"" help:"A task to execute. Defaults to the first task in Cogsfile if not specified"`
	File         string `arg:"-f,--file" help:"Cogsfile for task definitions" default:"cogs.yaml"`
	AlwaysDocker bool   `arg:"-d,--always-docker" help:"Always use Docker executor"`
	AlwaysShell  bool   `arg:"-s,--always-shell" help:"Always use Shell executor"`
	PlanOnly     bool   `arg:"-p,--plan-only" help:"Show execution plan and exit"`
}

type TasksArgs

type TasksArgs struct {
	File string `arg:"-f,--file" help:"Cogsfile for task definitions" default:"cogs.yaml"`
}

Jump to

Keyboard shortcuts

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