mage

package
v0.8.15 Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddArg

func AddArg(arg string) func(*mageArgs)

AddArg adds a simple argument.

func Run

func Run(args ...Arg) error

Run mage on the current directory with the given args the output of the mage command is printed to stdout and the error message to stderr.

func RunDir

func RunDir(dir string, args ...Arg) error

Run mage on the specified directory with the given args. the output of the mage command is printed to stdout and the error message to stderr.

func RunDirs added in v0.8.10

func RunDirs(dir, workDir string, args ...Arg) error

Run mage on the specified directory with the given args. the output of the mage command is printed to stdout and the error message to stderr.

Types

type Arg

type Arg func(*mageArgs)

Arg represents a mage argument

Jump to

Keyboard shortcuts

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