cli

package
v0.0.0-...-69654ad Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2026 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const TokenEnvVar = "DOCKET_TOKEN"

TokenEnvVar is the environment variable carrying a capability token.

Variables

This section is empty.

Functions

func Execute

func Execute() int

Execute runs the root command and returns an exit code.

Types

type CmdError

type CmdError struct {
	Err  error
	Code output.ErrorCode
}

CmdError wraps an error with a machine-readable error code for structured output.

func (*CmdError) Error

func (e *CmdError) Error() string

Jump to

Keyboard shortcuts

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