Command line db tool