cli.commands.zenodo#

showyourwork.cli.commands.zenodo.zenodo_create(branch)#

Create a new Zenodo Sandbox deposit.

This command creates a new draft on Zenodo Sandbox.

Parameters

branch (str) – Branch to create the cache for.

showyourwork.cli.commands.zenodo.zenodo_delete(branch)#

Delete the latest draft of the Zenodo Sandbox deposit.

Parameters

branch (str) – Branch whose cahce is to be deleted.

showyourwork.cli.commands.zenodo.zenodo_freeze(branch)#

Freeze the Zenodo Sandbox deposit.

This command publishes the latest draft on Zenodo Sandbox. This action makes the cache public and (semi-)permanent. Useful during development.

Parameters

branch (str) – Branch whose cache is to be frozen.

showyourwork.cli.commands.zenodo.zenodo_publish(branch)#

Publish the cache.

Copies the latest draft on Zenodo Sandbox to Zenodo and publishes it, assigning it a permanent DOI.

Parameters

branch (str) – Branch to publish.