The Open Anzo Command Line Interface


We're continuing to work feverishly at Cambridge Semantics, and one of the main focal points of our efforts is the upcoming (later this year) release of Open Anzo 3.0. In February I wrote a bit about the core client APIs that we've stabilized for this release. Today, I wanted to share a huge development-productivity aid that uses the client implementation: a feature-rich command-line client.

Joe Betz, who added and announced the new command line interface a few weeks ago, also wrote an excellent guide to getting setup and using the client. I heartily recommend the guide, but to whet your appetite, here's an example interaction with the CLI client. (This interaction occurs after the install and configuring of default settings for the client, as given in the guide. It also assumes a running Anzo server (as per the "Quick Start" section in the guide).)


This is nice!

I just tried to install this all and get it running, but I seem to be getting stuck at the last step.

$ anzo help
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.cli.HelpFormatter.setOptPrefix(Ljava/lang/String;)V
at org.openanzo.client.cli.CommandLineInterface.printHelp(
at org.openanzo.client.cli.CommandLineInterface.main(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.codehaus.classworlds.Launcher.launchStandard(
at org.codehaus.classworlds.Launcher.launch(
at org.codehaus.classworlds.Launcher.main(

Any suggestions?

Am on latest Mac OS X, using PostgreSQL. the validation URI checks out OK, do I don't presume there's any problem there.


Thanks for pointing this out.

The problem was caused by an incorrect version of the commons-cli jar file being included in the distro.

A new distro will be up shortly (estimated time: 6pm EDT on Thursday 6/5)


This is really cool. I love it.

Hi Lee, the video is available ...