diff --git a/README.rst b/README.rst index 2456375..2f7a00d 100644 --- a/README.rst +++ b/README.rst @@ -115,6 +115,9 @@ The following operations can be run from the command line using the harvester rmsource {id} - remove (inactivate) a harvester source + harvester clearsource {id} + - clear a harvester source (delete all associtated datasets) + harvester sources [all] - lists harvest sources If 'all' is defined, it also shows the Inactive sources diff --git a/ckanext/harvest/commands/harvester.py b/ckanext/harvest/commands/harvester.py index 75fa163..6499eda 100644 --- a/ckanext/harvest/commands/harvester.py +++ b/ckanext/harvest/commands/harvester.py @@ -20,6 +20,9 @@ class Harvester(CkanCommand): harvester rmsource {id} - remove (inactivate) a harvester source + harvester clearsource {id} + - clear a harvester source (delete all associtated datasets) + harvester sources [all] - lists harvest sources If 'all' is defined, it also shows the Inactive sources