cmd

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCannotFilterBuildPaths = erk.New(ErkCannotFilterBuildPaths{},
		"Cannot filter build paths with --only, since '{{.filter}}' does not match any of:\n{{.buildPaths}}"+
			"\n\nRemember to end with a trailing `/` if you wish to match a directory.",
	)

	ErrInvalidNumParallel = erk.New(ErkInvalidNumParallel{},
		"Invalid value ({{.numParallel}}) provided for --num-parallel. "+
			"Only `all`, `<int>`, or `<float>x` are supported, where the resulting number is a non-zero value.",
	)
)

Functions

This section is empty.

Types

type App

type App struct {
	Version string

	Getwd            func() (string, error)
	LambgoFileLoader lambgofile.LoaderAPI
	Builder          builder.LambdaBuilderAPI
}

App is the CLI application for lambgo.

func (*App) Run

func (a *App) Run(args []string) error

Run the application given the os.Args array.

type ErkCannotFilterBuildPaths added in v0.1.6

type ErkCannotFilterBuildPaths struct{ erk.DefaultKind }

type ErkInvalidNumParallel added in v0.1.13

type ErkInvalidNumParallel struct{ erk.DefaultKind }

Jump to

Keyboard shortcuts

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