Protocols - Macro206/CMDKit-Framework GitHub Wiki

These protocols allow various objects to communicate with the framework and respond to events.

CMDPrintingDelegate

-(void)printUsage
The delegate should print the usage of the program.
This method is required.

-(void)printHelp
The delegate should print the program's "help" information.
This method is optional.

CMDConsoleDelegate

- (void)console:(CMDConsoleManager *)console didReceiveInput:(NSString *)input
The console manager uses this method to notify its delegate of any input received from the console, and gives the program a chance to stop the console via [console stopConsole].
This method is required.

⚠️ **GitHub.com Fallback** ⚠️