use of ai.grakn.graql.shell.GraqlShellOptionsFactory in project grakn by graknlabs.
the class Graql method main.
/**
* Invocation from bash script 'graql'
*
* @param args
*/
public static void main(String[] args) throws IOException, InterruptedException {
GraknSessionProvider sessionProvider = new GraknSessionProvider(GraknConfig.create());
GraqlShellOptionsFactory graqlShellOptionsFactory = GraqlShellOptions::create;
new Graql(sessionProvider, graqlShellOptionsFactory).run(args);
}
Aggregations