add dbinfo command implementation