Versions in this module Expand all Collapse all v0 v0.3.0 Nov 27, 2026 Changes in this version + const LayerBehavior + const LayerCommand + const LayerEndpoint + const LayerHandWritten + var Group = command.Register(command.Define("command", ...)) + type Command struct + Command string + Fails []string + Flags []Flag + Method string + Short string + type CreateInput struct + Description string + Name string + Under command.Parent + type CreateOutput struct + Files []File + Name string + Next []Step + func Create(_ context.Context, d Deps, in CreateInput) (CreateOutput, error) + type Deps struct + Dir string + IsBehavior func(name string) bool + Root *cobra.Command + type Example struct + Doc string + Flags string + type File struct + Path string + type Flag struct + Doc string + Flag string + Short string + Type string + Validate string + type GetInput struct + Name string + type GetOutput struct + Commands []Command + Doc string + Name string + func Get(_ context.Context, _ Deps, in GetInput) (GetOutput, error) + type ListInput struct + type ListOutput struct + Behavior int + Command int + Endpoint int + HandWritten int + Items []Summary + func List(_ context.Context, d Deps, _ ListInput) (ListOutput, error) + type MethodInput struct + Method string + Name string + type MethodOutput struct + Command string + ConfigKeys []string + Doc string + Examples []Example + Flags []Flag + Long string + Method string + Output *behavior.Schema + OutputType string + Process bool + Refuses []string + Results []Result + Says string + func MethodGet(_ context.Context, _ Deps, in MethodInput) (MethodOutput, error) + type Result = behaviordsl.Result + type SpecInput struct + type SpecOutput struct + Kinds []guide.Section + func Spec(_ context.Context, _ Deps, _ SpecInput) (SpecOutput, error) + type Step struct + Command string + type Summary struct + Command string + Doc string + Group string + Layer string + type ValidateInput struct + type ValidateOutput struct + Fixes map[string]any + Groups int + Local int + Problems []command.Problem + Valid bool + func Validate(_ context.Context, _ Deps, _ ValidateInput) (ValidateOutput, error)