Command line client for query.v1