Skip to content

Instantly share code, notes, and snippets.

@tingletech
Created June 6, 2019 21:03
Show Gist options
  • Save tingletech/ea163131d63a8428aba7066cc425c3e0 to your computer and use it in GitHub Desktop.
Save tingletech/ea163131d63a8428aba7066cc425c3e0 to your computer and use it in GitHub Desktop.
usage: nxid [-h] [--mint] [--create] [--update] [--no-noop-report]
[--show-erc] [--ezid-username EZID_USERNAME]
[--ezid-password EZID_PASSWORD] [--shoulder SHOULDER]
[--owner OWNER] [--status STATUS] [--publisher PUBLISHER]
[--location LOCATION] [--loglevel LOGLEVEL] [--rcfile RCFILE]
path
nxid finds top level objects in Nuxeo and syncs them up with EZID
positional arguments:
path nuxeo path (folder or object)
optional arguments:
-h, --help show this help message and exit
minting behaviour flags:
--mint, -m when an ARK is missing, mint and bind new ARK in EZID
--create, -c when an ARK is found in Nuxeo but not EZID, create
EZID
--update, -u when an ARK is found in Nuxeo and EZID, update EZID
--no-noop-report override default behaviour of reporting on noops
--show-erc show ANVL record that will be sent to EZID
EZID configuration and metadata:
--ezid-username EZID_USERNAME
username for EZID API (overrides rcfile)
--ezid-password EZID_PASSWORD
password for EZID API (overrides rc file)
--shoulder SHOULDER shoulder (overrides rcfile)
--owner OWNER set as _owner for EZID
--status STATUS set as _status for EZID (public|reserved|unavailable)
--publisher PUBLISHER
set as dc.publisher for EZID
--location LOCATION set location URL prefix for EZID
common options for pynux commands:
--loglevel LOGLEVEL CRITICAL ERROR WARNING INFO DEBUG NOTSET, default is
ERROR
--rcfile RCFILE path to ConfigParser compatible ini file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment