builtin

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: MIT Imports: 16 Imported by: 0

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 (
	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 ErrComputeMissing = errors.New("no compute contract is bundled")
View Source
var ErrNoTokenOnStdin = errors.New("no token on stdin")

Functions

func Commands

func Commands(ext *extension.Context) []*cobra.Command

Commands returns every top-level command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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