diff --git a/changelog/13.feature.md b/changelog/13.feature.md new file mode 100644 index 0000000..4b27826 --- /dev/null +++ b/changelog/13.feature.md @@ -0,0 +1,2 @@ +Added the `--user-controlled-only` flag to `openscm-zenodo retrieve-metadata`. +This is the flag to use if you want to use the retrieved metadata as the starting point for the next version of a deposit. diff --git a/src/openscm_zenodo/cli/app.py b/src/openscm_zenodo/cli/app.py index cc7540c..ce0a776 100644 --- a/src/openscm_zenodo/cli/app.py +++ b/src/openscm_zenodo/cli/app.py @@ -158,7 +158,7 @@ def retrieve_metadata_command( If this is `True`, the metadata keys controlled by Zenodo (e.g. the DOI) are removed from the returned metadata. This flag is important to use -if you want to use the retrieved metatdata +if you want to use the retrieved metadata as the starting point for the next version of a deposit.""" ), ] = False, diff --git a/src/openscm_zenodo/zenodo.py b/src/openscm_zenodo/zenodo.py index 5092a27..20deb2c 100644 --- a/src/openscm_zenodo/zenodo.py +++ b/src/openscm_zenodo/zenodo.py @@ -235,7 +235,7 @@ def get_metadata( (e.g. the DOI) are removed from the returned metadata. This flag is important to use - if you want to use the retrieved metatdata + if you want to use the retrieved metadata as the starting point for the next version of a deposit. Returns