Add a command-line interface for syncing the database