inveniosoftware / dojson

Simple pythonic JSON to JSON converter.
https://dojson.readthedocs.io
Other
10 stars 29 forks source link

cli: chainable commands #74

Closed jirikuncar closed 8 years ago

jirikuncar commented 8 years ago

Example

$ dojson -l marcxml do marc21 schema http://schema.org/schema.json < \
../invenio-records/invenio_records/data/marc21/bibliographic.xml

cc @hachreak

Identity

$ dojson -l marcxml -d marcxml do marc21 do to_marc < \
../invenio-records/invenio_records/data/marc21/bibliographic.xml > output.xml
$ diff output.xml ../invenio-records/invenio_records/data/marc21/bibliographic.xml
...

cc @egabancho

adresses #73

egabancho commented 8 years ago

LGTM!