package cmd
import "cuelang.org/go/cmd/cue/cmd"
Index ¶
Variables ¶
ErrPrintedError indicates error messages have been printed to stderr.
Functions ¶
func Main ¶
func Main() int
Main runs the cue tool and returns the code for passing to os.Exit.
func MainTest ¶
func MainTest() int
MainTest is like Main, runs the cue tool and returns the code for passing to os.Exit.
Types ¶
type Command ¶
type Command struct { // The currently active command. *cobra.Command // contains filtered or unexported fields }
func New ¶
func (*Command) Run ¶
func (*Command) SetInput ¶
func (*Command) SetOutput ¶
func (*Command) Stderr ¶
Stderr returns a writer that should be used for error messages.
Source Files ¶
add.go cmd.go common.go completion.go custom.go def.go eval.go export.go fix.go flags.go fmt.go get.go get_go.go help.go import.go interfaces_gen.go mod.go orphans.go root.go trim.go version.go vet.go
Directories ¶
Path | Synopsis |
---|---|
cmd/cue/cmd/interfaces |
- Version
- v0.4.0-rc.1
- Published
- May 19, 2021
- Platform
- linux/amd64
- Imports
- 60 packages
- Last checked
- 2 hours ago –
Tools for package owners.