konkfile

package
v0.28.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context, file File, command string, cfg ExecuteConfig) error

Types

type Command

type Command struct {
	Run       string   `json:"run"       toml:"run"       yaml:"run"`
	Needs     []string `json:"needs"     toml:"needs"     yaml:"needs"`
	Exclusive bool     `json:"exclusive" toml:"exclusive" yaml:"exclusive"`
}

type ExecuteConfig

type ExecuteConfig struct {
	AggregateOutput bool
	ContinueOnError bool
	NoColor         bool
	NoShell         bool
}

type File

type File struct {
	Commands map[string]Command `json:"commands" toml:"commands" yaml:"commands"`
}

Directories

Path Synopsis
internal
dag

Jump to

Keyboard shortcuts

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