config = CliConfigImpl.load(this);
initSSLContext();
if (initConsole) {
cmdCompleter = new CommandCompleter(cmdRegistry);
this.console = Console.Factory.getConsole(this);
console.setUseHistory(true);
console.setHistoryFile(new File(SecurityActions.getSystemProperty("user.home"), ".jboss-cli-history"));
console.addCompleter(cmdCompleter);
this.operationCandidatesProvider = new DefaultOperationCandidatesProvider();