Documentation
¶
Overview ¶
Package cli implements the orb commands.
Index ¶
Constants ¶
View Source
const JSONSchemaVersion = 1
JSONSchemaVersion is the "schemaVersion" of every orb --json output (ADR-0015, ADR-0054). Scripts check it before reading the rest. Adding a field keeps the version; removing, renaming or retyping one is a breaking change that needs a new major version of orb and a new schema version.
View Source
const LockAPIVersion = "gorbital.dev/v2"
LockAPIVersion versions the gorbital.lock format (ADR-0015, ADR-0050).
Variables ¶
View Source
var Version = moduleVersion("v0.1.0-dev", debug.ReadBuildInfo)
Version is the orb version. Release builds set it with -ldflags "-X gorbital.dev/cli/internal/cli.Version=v0.1.0"; go install gorbital.dev/cli/cmd/orb@v0.1.0 gets it from the module version.
Functions ¶
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.