import std.stdio;
import cli;
import command;
import services;
import consolecolors;
void main() {
ServiceManager serviceManager = new ServiceManager();
CliHandler cliHandler = new CliHandler();
cliHandler.register("service", new ServiceCommand(serviceManager));
cwriteln("\nGymboard CLI: Command-line interface for managing Gymboard services.");
cwriteln(" Type help for more information.\n Type exit to exit the CLI.\n");
while (!cliHandler.isExitRequested) {
cwrite("> ".blue);
cliHandler.readAndHandleCommand();
}
serviceManager.stopAll();
cwriteln("Goodbye!".blue);
}