extension

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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