Documentation
¶
Overview ¶
Package builtin holds the commands that belong to no service: signing in, choosing a project, inspecting contracts.
They print through the same printer as generated commands, so -o json works on `auth status` exactly as it does on `disk list`. A wrapper program should not have to special-case them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCompletionFailed = errors.New("cannot install completion") ErrUnsupportedShell = errors.New("unsupported shell") )
View Source
var ( ErrNoSuchContext = errors.New("no such context") ErrBadEndpoint = errors.New("malformed endpoint") )
View Source
var ( ErrNoSuchProject = errors.New("no such project") ErrAccountMissing = errors.New("no account contract is bundled, so projects cannot be listed") )
View Source
var ( ErrUpdateFailed = errors.New("cannot update") ErrChecksumMismatch = errors.New("checksum mismatch") // ErrNotWritable is separate because the fix is different: the binary is // somewhere the user cannot write, so a package manager or sudo owns it. ErrNotWritable = errors.New("cannot replace the running binary") )
View Source
var ErrNoTokenOnStdin = errors.New("no token on stdin")
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.