public CommandEngine(RootCommandBase rootCommand) { rootCommand.SetStopAction(Stop); _rootCommand = rootCommand; }