cmd

package
v0.0.0-...-071fc36 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	Debug           bool              `help:"Whether to show logging"`
	DebugHTTP       bool              `help:"Whether to show http logging"`
	File            *os.File          `help:"The buildkite pipeline file to read"`
	Env             []string          `help:"Environment variables to set for the build"`
	Metadata        map[string]string `help:"Metadata to set for the build"`
	Command         string            `help:"A command to execute"`
	StepFilterRegex string            `help:"A regex to filter which steps are run"`
	Prompt          bool              `help:"Prompt before running steps"`
	DryRun          bool              `help:"Dry run, don't actually run"`
	ListenPort      int               `help:"The port to run on"`
}

func (*CLI) Run

func (c *CLI) Run(ctx *kong.Context) error

Jump to

Keyboard shortcuts

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