extension

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package extension carries the kernel's capabilities to the commands that are not generated from a contract — signing in, choosing a project, configuring a context. Those correspond to no operation, so they are written by hand in package builtin.

Commands that do correspond to an operation are never written by hand. One surface, one source.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Config  *config.Config
	Tokens  *auth.Manager
	Client  *transport.Client
	Printer *output.Printer
	Specs   *spec.Set
}

Context is what the kernel hands to a command: capabilities, not raw material. Client already knows which token to attach and how to retry; Printer already knows the requested format.

Jump to

Keyboard shortcuts

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