1.0.6 • Published 2 years ago

dspace-is-four-stars-cli v1.0.6

Weekly downloads
3
License
MIT
Repository
-
Last release
2 years ago

Dspace is four stars CLI

CLI tool for working with the Dspace API

oclif

Usage

$ npm install -g dspace-is-four-stars-cli
$ di4scli COMMAND
running command...
$ di4scli (-v|--version|version)
dspace-is-four-stars-cli/1.0.6 darwin-x64 node-v14.18.1
$ di4scli --help [COMMAND]
USAGE
  $ di4scli COMMAND
...

Commands

di4scli embargo

Check one item or crawl the API for embargoed items

USAGE
  $ di4scli embargo

OPTIONS
  -L, --level=missingDate|missingDateAndTerms  missingDate: get all items that lacks end date in a date field
                                               missingDateAndTerms: get all items without information about embargo date
                                               in terms

  -c, --collection=collection                  collectionID to get

  -d, --domain=domain                          (required) URL to check

  -i, --id=id                                  itemID to get

  -l, --limit=limit                            [default: 200] how many results

  -o, --offset=offset                          [default: 0] where should we start from

EXAMPLE
  $ di4scli embargo -d https://dspace.org --level=missingDate

di4scli export

Export item or items from Dspace API as JSON-LD

USAGE
  $ di4scli export

OPTIONS
  -c, --collection=collection  collectionID to get
  -d, --domain=domain          (required) URL to check
  -f, --fromDate=fromDate      only items published after this date, e.g. 2021-01-01
  -i, --id=id                  itemID to get
  -l, --limit=limit            [default: 200] how many results
  -o, --offset=offset          [default: 0] where should we start from

EXAMPLE
  $ di4scli export -d https://dspace.org/rest

di4scli help [COMMAND]

display help for di4scli

USAGE
  $ di4scli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help