Skip to main content

apply_root_layout

Function apply_root_layout 

Source
pub fn apply_root_layout(cmd: Command) -> Command
Expand description

Apply root-level command layout by setting subcommand headings

This function mutates the root Command to assign the UTILITIES heading to utility subcommands (batch, completions) while preserving existing search workflow headings.

§Arguments

  • cmd - The root command (typically from Cli::command())

§Returns

The mutated command with updated subcommand headings