public void Run() { _serviceProvider = _serviceCollection.BuildServiceProvider(); for (; ;) { string commandText = CommandInput.ReadLine(_actionByCommand.Keys); if (commandText == _exitCommand) { return; } else if (TryGetAction(commandText, out Action <string[]>?action, out string[]? args))