Command line tool for reference querying.