PandaShell implements LoggerHolder { public void invoke(String... args) throws Exception { PandaCli command = CommandLine.populateCommand(pandaCli, args); command.run(); } PandaShell(Supplier<Logger> logger, InputStream input); void invoke(String... args); InputStream getInput(); @Override Logger getLogger();  }
@Test void test() throws Exception { SHELL.invoke("--level=info", "../examples/package_manager/panda-module-dependency/panda.cdn"); }