Versions in this module Expand all Collapse all v1 v1.0.90 Aug 25, 2026 Changes in this version + type Access struct + type Definition struct + ArgsType reflect.Type + DataType reflect.Type + Hooks Hooks + Input command.InputDefinition + Metadata command.CommandMetadata + Output command.OutputDefinition + PageOutput bool + type Hooks struct + DryRun func(context.Context, RuntimeContext, any) (any, error) + Execute func(context.Context, RuntimeContext, any) (Result, error) + NewArgs func() any + Normalize func(context.Context, RuntimeContext, any) error + Renderers map[string]func(io.Writer, any) error + Validate func(context.Context, RuntimeContext, any) error + type Result struct + Data any + Outcome string + Pagination *command.HostPagination + type RuntimeContext interface + APIClient func() (*client.APIClient, error) + Config func() core.CliConfig + FileIO func() fileio.FileIO + Identity func() command.Identity + InputResolvedFromSource func(param string) bool + IsDryRun func() bool + PaginationOptions func() (command.PaginationOptions, error) + PresentError func(err error) error + RequireConditionalScopes func(scopes ...string) error + ResolveSavePath func(path string) (string, error) + StartSpinner func(label string) func() + Stderr func() io.Writer + ValidatePath func(path string) error