Command line interface for Imagine library