Skip to main content

cmd_aggregation

Function cmd_aggregation 

Source
pub fn cmd_aggregation() -> Command
Expand description

Creates the CLI command for querying or modifying the aggregation setting.

§Returns

  • A clap::Command configured with:
    • Name: "aggregation"
    • Alias: "ag"
    • Short and long description: "Display or modify aggregation setting."
    • Usage override: robctl [options] aggregation|ag [options] [0|1]
    • Optional argument value:
      • Type: u8
      • Allowed values: 0 (disable) or 1 (enable)
      • Help: "0 = disable aggregation, 1 = enable aggregation"

§Notes

  • If no value is provided, the command can be used to display the current aggregation state.
  • Version flag is disabled for this command.