DD-1564 Implement Dataverse collection level commands in dd-dataverse-cli #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes DD-1564 Implement Dataverse collection level commands in dd-dataverse-cli
Description of changes
/git/dans-core-systems/modules/dd-dataverse-cli > start.sh collection --help
Usage: dataverse collection [-hV] alias [COMMAND]
Manage Dataverse collections (i.e. 'dataverses')
alias The alias of the dataverse collection (default: root)
-h, --help Show this help message and exit.
-V, --version Print version information and exit.
Commands:
assign-role
Assign a role to a user in a Dataverse collection.create-dataset
Create a dataset in a dataverse collection.delete
Delete a Dataverse collection.get-contents
Show contents of a dataverse collection.import-dataset
Import a JSON dataset into a dataverse collection.is-metadata-blocks-root
Determine if a dataverse collection inherits itsmetadata blocks from its parent.
list-metadata-blocks
Get a list of metadata blocks defined on adataverse collection.
list-roles
Get a list of roles defined in a dataversecollection.
publish
Publish a dataverse collection.set-metadata-blocks-root
Configure a dataverse collection to inherit itsmetadata blocks from its parent.
view
Get the information of a Dataverse collection.How to test
dd-dataverse-cli
folderstart-env.sh
start.sh collection --help
start.sh collection view
start.sh collection import-dataset -h
vagrant ssh
environment[vagrant@archaeology ~]$ dataverse collection list-metadata-blocks | jq
Related PRs
(Add links)
*
Notify
@DANS-KNAW/core-systems