Skip to content

orvanta scripts

Manage versioned, reusable scripts in your Orvanta organisation.

Terminal window
orvanta scripts <subcommand> [options]

List all scripts in the organisation.

Terminal window
orvanta scripts list [--json] [--limit <n>]

Create a new script with a local source file.

Terminal window
orvanta scripts create <name> --file <path> [--runtime <runtime>]
FlagDescription
--file <path>Path to the source file. Required.
--runtime <runtime>Override the runtime (bash, python, typescript, go). Auto-detected from extension if omitted.
--description <text>Short description.

Example:

Terminal window
orvanta scripts create send-report --file ./scripts/send-report.py

Publish a new version of an existing script.

Terminal window
orvanta scripts publish <name> --file <path> [--version <semver>]

If --version is omitted, Orvanta auto-increments the patch version.


Show details and version history for a script.

Terminal window
orvanta scripts get <name>
orvanta scripts get <name>@<version>

Show the diff between two versions of a script.

Terminal window
orvanta scripts diff <name>@<v1> <name>@<v2>

Delete a script. Workflows that reference it will need to be updated.

Terminal window
orvanta scripts delete <name> [--yes]

Download a script version to a local file.

Terminal window
orvanta scripts pull <name>[@<version>] --output <path>