Command line purge
Fixes okfn/ckanext-datahub#40