cmd

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPrintedError = errors.New("terminating because of errors")

Functions

func BuildTools

func BuildTools(dir string, tags, args []string) (*cue.Instance, error)

func DoTasks

func DoTasks(cmd Command, typ, command string, root *cue.Instance, path ...string) error

Types

type Command

type Command interface {
	Stderr() io.Writer
	InOrStdin() io.Reader
	OutOrStdout() io.Writer
	OutOrStderr() io.Writer
}

Jump to

Keyboard shortcuts

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