Source:
<code>CommandContextImpl(CommandContextConfiguration configuration) throws CliInitializationException { config = CliConfigImpl.load(this, configuration); addressResolver = ControllerAddressResolver.newInstance(config, configuration.getController()); operationHandler = new OperationRequestHandler(); this.username = configuration.getUsername(); this.password = configuration.getPassword(); this.disableLocalAuth = configuration.isDisableLocalAuth(); this.clientBindAddress = configuration.getClientBindAddress(); SILENT = config.isSilent(); ERROR_ON_INTERACT = config.isErrorOnInteract(); echoCommand = config.isEchoCommand(); configTimeout = config.getCommandTimeout() == null ? DEFAULT_TIMEOUT : config.getCommandTimeout(); setCommandTimeout(configTimeout); resolveParameterValues = config.isResolveParameterValues(); redefinedOutput = configuration.getConsoleOutput() != null; cliPrintStream = !redefinedOutput ? new CLIPrintStream() : new CLIPrintStream(configuration.getConsoleOutput()); initStdIO(); initSSLContext(); initJaasConfig(); if (configuration.isInitConsole() || configuration.getConsoleInput() != null) { initBasicConsole(configuration.getConsoleInput(), false); aeshCommands = new AeshCommands(this, console, new OperationCommandContainer(this)); this.cmdRegistry = aeshCommands.getRegistry(); legacyCmdCompleter = new CommandCompleter(cmdRegistry); aeshCommands.setLegacyCommandCompleter(legacyCmdCompleter); cmdCompleter = aeshCommands.getCommandCompleter(); this.operationCandidatesProvider = new DefaultOperationCandidatesProvider(); } else { aeshCommands = new AeshCommands(this, new OperationCommandContainer(this)); this.cmdRegistry = aeshCommands.getRegistry(); this.cmdCompleter = null; this.legacyCmdCompleter = null; this.operationCandidatesProvider = null; } try { initCommands(); if (config.isColorOutput()) { Util.configureColors(this); } } catch (CommandLineException | CommandLineParserException e) { throw new CliInitializationException("Failed to initialize commands", e); } <START> <END> addShutdownHook(); CliLauncher.runcom(this); }</code><technical_language>is another constructor require this initialisation</technical_language>

Target:
CommandContextImpl(CommandContextConfiguration configuration) throws CliInitializationException { config = CliConfigImpl.load(this, configuration); addressResolver = ControllerAddressResolver.newInstance(config, configuration.getController()); operationHandler = new OperationRequestHandler(); this.username = configuration.getUsername(); this.password = configuration.getPassword(); this.disableLocalAuth = configuration.isDisableLocalAuth(); this.clientBindAddress = configuration.getClientBindAddress(); SILENT = config.isSilent(); ERROR_ON_INTERACT = config.isErrorOnInteract(); echoCommand = config.isEchoCommand(); configTimeout = config.getCommandTimeout() == null ? DEFAULT_TIMEOUT : config.getCommandTimeout(); setCommandTimeout(configTimeout); resolveParameterValues = config.isResolveParameterValues(); redefinedOutput = configuration.getConsoleOutput() != null; cliPrintStream = !redefinedOutput ? new CLIPrintStream() : new CLIPrintStream(configuration.getConsoleOutput()); initStdIO(); initSSLContext(); initJaasConfig(); if (configuration.isInitConsole() || configuration.getConsoleInput() != null) { initBasicConsole(configuration.getConsoleInput(), false); aeshCommands = new AeshCommands(this, console, new OperationCommandContainer(this)); this.cmdRegistry = aeshCommands.getRegistry(); legacyCmdCompleter = new CommandCompleter(cmdRegistry); aeshCommands.setLegacyCommandCompleter(legacyCmdCompleter); cmdCompleter = aeshCommands.getCommandCompleter(); this.operationCandidatesProvider = new DefaultOperationCandidatesProvider(); if (config.isColorOutput()) { colourOutput = true; Util.configureColors(this); } } else { aeshCommands = new AeshCommands(this, new OperationCommandContainer(this)); this.cmdRegistry = aeshCommands.getRegistry(); this.cmdCompleter = null; this.legacyCmdCompleter = null; this.operationCandidatesProvider = null; } try { initCommands(); } catch (CommandLineException | CommandLineParserException e) { throw new CliInitializationException("Failed to initialize commands", e); } addShutdownHook(); CliLauncher.runcom(this); }