cmd

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version  = "0.0.0"
	Revision = "aaaa1234"
)
View Source
var (
	// Keep public for test overwrites
	// TODO: see why logrus is needed if all logging happens over
	// fmt.Fprintln()
	ChannelOut io.Writer = nil
	ChannelErr io.Writer = nil
)
View Source
var (
	ErrIncompleteConfig = errors.New("config key is missing")
)
View Source
var ErrIncorrectPipelineTaskArg = errors.New("supplied argument does not match any pipelines or tasks")
View Source
var TaskCtlCmd = &cobra.Command{
	Use:     "taskctl",
	Version: fmt.Sprintf("%s-%s", Version, Revision),
	Short:   "modern task runner",
	Long: `Concurrent task runner, developer's routine tasks automation toolkit. 
Simple modern alternative to GNU Make 🧰`,
	SuggestionsMinimumDistance: 1,
}

Functions

func Execute

func Execute(ctx context.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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