Skip to main content

Module tree

Module tree 

Source
Expand description

Command tree data structures.

Provides the core tree structure for organizing commands and directories. All tree structures are const-initializable and live in ROM.

Modules§

completion
Tab completion for commands and paths.
path
Path parsing and navigation.

Structs§

CommandMeta
Command metadata (const-initializable, no execution logic). Execution via CommandHandler trait enables sync and async commands with const-initialization. Unique id field allows duplicate names across directories.
Directory
Directory node containing child nodes (const-initializable, stored in ROM). Organizes commands hierarchically.

Enums§

CommandKind
Command kind marker (sync or async).
Node
Tree node (command or directory).