import std.stdio; import cli; import services; import consolecolors; void main() { ServiceManager serviceManager = new ServiceManager(); CliHandler cliHandler = new CliHandler(); cliHandler.register("service", new ServiceCommand(serviceManager)); cwriteln("Gymboard CLI: Type help for more information. Type exit to exit the CLI."); while (!cliHandler.shouldExit) { cwrite("> ".blue); cliHandler.readAndHandleCommand(); } serviceManager.stopAll(); cwriteln("Goodbye!".green); }