5960616263646566676869
final QueryShell shell = shellFactory().create(System.in, System.out); shell.setOutputFormat(format); if (query != null) { shell.execute(query); } else { shell.run(); } return 0; } private Factory shellFactory() {