Use the command line

Invoke the installed plugin through the Transpiler-Mate runtime:

transpiler-mate invenio-publish [OPTIONS] SOURCE

SOURCE is a CWL document location supported by the runtime. Its document-level Schema.org metadata must satisfy the Transpiler-Mate SoftwareApplication model.

Plugin options

Option Required Default Description
--base-url URL Yes Base URL of the InvenioRDM service, for example https://sandbox.zenodo.org/.
--auth-token TEXT Yes Access token authorized to create and publish deposits.
--attach PATH No none File to upload to the record. Repeat the option to upload multiple files.

For example:

transpiler-mate invenio-publish \
  --base-url https://invenio.example.org/ \
  --auth-token "$INVENIO_TOKEN" \
  --attach workflow.cwl \
  --attach README.md \
  workflow.cwl

The source document is not attached automatically; add it explicitly with --attach when it should be part of the deposit. Each attachment must exist and must have a distinct filename.

The runtime also exposes source-access options such as OCI credentials and an OAuth bearer token. Inspect the installed interface for the complete list:

transpiler-mate invenio-publish --help