* Example shows how to embed JavaREPL inside your application. Note that your application needs to be running via JDK
* for the JavaREPL to work.
*/
public class EmbedInApplication {
public static void main(String... args) throws Exception {
ConsoleConfig config = consoleConfig()
.historyFile(new File(getProperty("user.home"), ".javarepl-embedded.history"))
.commands(
ListValues.class,
ShowHistory.class,
EvaluateFromHistory.class,