Maybe dumping and the snippet should be two separate operations? Especially considering one of them is a command and the other is a query.