src/CLI/CLICommands.h

CLICommands [Class]

Description

The CLICommands class is the main controller for the Command Line Interface application. It handles parsing argument vectors (argc/argv) from the main entry point and dispatching them to the appropriate internal command handlers.

Public Methods

int handle(int argc, char* argv[])
Main entry point for CLI argument processing. Validates input and executes the requested command.
Parameters
  • argc: Argument count from main().
  • argv: Argument vector array from main().
Returns
Returns an error code (0 for success, non-zero for error).