Skip to main content

MAX_DEPTH

Constant MAX_DEPTH 

Source
pub const MAX_DEPTH: usize = 16;
Expand description

How deep a command tree this parser will descend.

The ancestor chain is kept in a fixed-size array so that a parse allocates nothing; this is that array’s size. mise, the largest usage CLI, is four levels deep.