Functionsยง
- command_
tree - Canonical command tree shared between the automation CLI and the TUI command palette. Keeping this in one place guarantees the same grammar is exposed in both surfaces.
- find_
leaf - Walk a command path (
["reports", "balance"]) down the tree and return the matching leaf. ReturnsNonewhen any segment is unknown or when the path does not terminate at a runnable command.