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.
Click to show internal directories.
Click to hide internal directories.