Versions in this module Expand all Collapse all v3 v3.0.1 Nov 15, 2026 v3.0.0 Nov 14, 2026 Changes in this version + const AppContextKey + const OutputModeJSON + const OutputModeText + type AppContext struct + AllConfirmed bool + func From(ctx context.Context) (*AppContext, bool) + func New(ctx context.Context, opts Options) (*AppContext, error) + func (a *AppContext) AllEnvironments() bool + func (a *AppContext) Client() (*client.Client, error) + func (a *AppContext) Config() *clitypes.Config + func (a *AppContext) EnvID() string + func (a *AppContext) Environments(ctx context.Context) ([]types.Environment, error) + func (a *AppContext) IsJSON() bool + func (a *AppContext) SelectEnvironment(id string) + func (a *AppContext) UnauthClient() (*client.Client, error) + type Options struct + AssumeYes bool + EnvOverride string + NoColor bool + OutputMode OutputMode + RequestTimeout time.Duration + type OutputMode string