Skip to main content

Module tree

Module tree 

Source

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. Returns None when any segment is unknown or when the path does not terminate at a runnable command.