Add a dump command to the CLI