publish¶
Command-line tool¶
A publisher of Boutiques tools in Zenodo (http://zenodo.org). Requires a Zenodo access token, see http://developers.zenodo.org/#authentication.
usage: bosh publish [-h] [--sandbox] [--zenodo-token ZENODO_TOKEN] [--no-int]
[-v] [-r | --id ID]
boutiques_descriptor
Positional Arguments¶
- boutiques_descriptor
local path of the Boutiques descriptor to publish.
Named Arguments¶
- --sandbox
publish to Zenodo’s sandbox instead of production server. Recommended for tests.
Default: False
- --zenodo-token
Zenodo API token to use for authentication. If not used, token will be read from configuration file or requested interactively.
- --no-int, -y
disable interactive input.
Default: False
- -v, --verbose
print information messages.
Default: False
- -r, --replace
Publish an updated version of an existing record. The descriptor must contain a DOI, which will be replaced with a new one.
Default: False
- --id
Zenodo ID of an existing record you wish to update with a new version, prefixed by ‘zenodo.’ (e.g. zenodo.123456).
Python API¶
- boutiques.publish(*params)
Refer to the Command-line tool section above