Expand description
Stage-based feature flagging primitives (readiness gating), distinct from flags.
Stage-based feature flagging primitives.
These types describe readiness gating: a command, group, or module can declare
the Stage at which it becomes visible, and a run-wide FlagPolicy decides
whether that stage (or an override for a specific flag key) is currently enabled.
Structs§
- Feature
Flag - A named feature flag: a key (used for policy overrides and introspection) paired with the stage at which the flagged node becomes visible.
- Flag
Entry - One flagged node discovered while pruning a command tree.
- Flag
Policy - The fully-merged decision inputs for one CLI run: the minimum stage required for a node to be visible, plus any per-key overrides that force a specific effective stage regardless of the node’s declared stage.
- Flag
Registry - Every flagged module/group/command path discovered while pruning a command tree, in registration order.
- Parse
Stage Error - Error returned when parsing an unknown feature stage.
Enums§
- Stage
- Feature readiness stage, used to gate commands/groups/modules before they are fully promoted to general availability.