Enum CommandMenuMode
Opt-in policy for whether a node (app, command group, or command) participates in the
discoverable command menu. The effective decision for a command is resolved by walking the
chain app → group → command: a command is eligible when the chain contains at least one
Enabled and no Disabled. Inherit contributes no
local opinion.
public enum CommandMenuMode
Fields
Disabled = 1- Hard-off for this node and its subtree, overriding any Enabled above.
Enabled = 2- Opt this node (and its subtree, unless overridden by Disabled) into the menu.
Inherit = 0- No local opinion; defer to the rest of the chain.
Remarks
The command menu only chooses a command. The selected command still runs through the normal
parse, bind, prompt, validate, and execute pipeline.