OCHA-DAP / hdx-cli-toolkit

A commandline tool for interacting with HDX with a view to doing bulk updates
MIT License
1 stars 0 forks source link

Undo / update from file functionality #2

Closed IanHopkinson closed 4 months ago

IanHopkinson commented 7 months ago

The update command is potentially "dangerous" in that a bulk can be made by accident with no way to reverse it. One way to address this would be to provide an "update from file" option with the "update" command generating a compatible file.

IanHopkinson commented 4 months ago

At the moment the update function (hdx_utilities.update_values_in_hdx) just outputs to console currently and returns n_changed, n_failures

IanHopkinson commented 4 months ago

Completed in #26