Add CLI
Similar API as icat-tools
icat-store-raw --beamline ID00 \
--proposal ID001234 \
--sample FeCo2 \
--dataset FeCO2_30 \
--path /data/visitor/id00/id001234/FeCo2/FeCO2_30
--metadata /path/to/file.json
--url ...
-p FIELD1=VALUE1
-p FIELD2=VALUE2
Same API for processed data, except for the references to raw dataset paths (at least one is required)
icat-store-processed ... \
--raw /data/visitor/id00/id001234/FeCo2/FeCO2_30
--raw /data/visitor/id00/id001234/FeCo2/FeCO2_31