There was an old CLI in processors.py that wasn't very useful as it didn't load the CKAN environment. This migrates it to the ckan dcat command, mainly to consume and produce DCAT RDF serializations. This will be very useful for quickly testing while working on the scheming support.
From the docs:
In both cases the input can be provided as a path to a file:
There was an old CLI in processors.py that wasn't very useful as it didn't load the CKAN environment. This migrates it to the
ckan dcat
command, mainly to consume and produce DCAT RDF serializations. This will be very useful for quickly testing while working on the scheming support.From the docs:
In both cases the input can be provided as a path to a file:
or be read from stdin:
The latter form allows chaininig commands for more complex metadata processing, e.g.:
For the full list of options check
ckan dcat consume --help
andckan dcat produce --help
.