Skip to main content

Module spec

Module spec 

Source
Expand description

Built-in and user-extensible command specification registry. Command-spec data model used by the formatter.

The built-in registry describes the argument structure of known commands so the formatter can recognize positional arguments, keywords, flags, and command-specific layout hints.

Modules§

registry
Built-in and override-backed command registry.

Structs§

CommandForm
One fully resolved command form.
KwargSpec
Specification for a keyword section and any nested sub-keywords it accepts.
LayoutOverrides
Per-command-form layout hints that override global crate::Config values.

Enums§

CommandSpec
NArgs
How many arguments a positional slot or keyword takes.