Creates a new instance of the CLI Program.
Optional configuration overrides.
Parses the command line arguments and executes the matched command.
Optionalargv: string[]The arguments array (defaults to process.argv).
A promise that resolves when the command execution is complete.
Registers a generic command handler into the program.
The command handler instance implementing the specific logic.
The Program instance for method chaining.
CLI Program Orchestrator.
Manages the registration of commands, arguments parsing, and execution delegation. It wraps the
commanderlibrary to provide a strictly typed and consistent interface.