Bolt CLI

Trigger a Bolt Run

Using the Paradime CLI, you can trigger a run for a given Bolt schedule name.

CLI command

paradime bolt run "<schedule_name>"

Options

Flag
Type
Description

--branch

Optional, TEXT

Git branch name or commit hash to checkout.

--command

Optional, TEXT

Command(s) to override the default commands.

--pr-number

Optional, INT

Pull request number to associate with the run.

--wait

Wait for the run to finish

--json

JSON formatted response

--help

Show CLI command options and exit.

Examples

Trigger a Bolt schedule run, and return the status until is completed.

CLI command

paradime bolt run "daily run" --wait

Example output

Download a Bolt Schedule artifacts

Using the Paradime CLI, you can download the latest artifacts of a given Bolt schedule name.

CLI command

Options

Flag
Type
Description

--schedule-name

Required, TEXT

The name of the Bolt schedule

--artifact-path

Optional, TEXT

The path to the artifact in the Bolt run. [default: target/manifest.json]

--command-index

Optional, INTEGER

The index of the command in the schedule. Defaults to searching through all commands from the last command to the first

--output-path

Optional, TEXT

The path to save the artifact. Defaults to the current directory.

--help

Show CLI command options and exit.

Examples

Get Bolt schedule manifest.json from the latest run.

CLI command

Example output

Bolt Schedules Suspend

Using the Paradime CLI, you can programmatically suspend a Bolt Schedule. This will be marked as "Paused". Schedules in "Paused" state will not run.

CLI Command

Examples

CLI Command

Example output

Bolt Schedules Unsuspend

Using the Paradime CLI, you can programmatically unsuspand a Bolt Schedule when in a "Paused" state. This is normally used in combination with the Bolt Schedules Suspend CLI command.

When a Bolt schedule is "Unsuspended", runs will resume.

CLI Command

Examples

CLI Command

Example output

CLI Command

Verify paradime_schedule.yml configuration file

Using the Paradime CLI, you can verify that your paradime_schedules.yml configuration file containting the YAML configured Bolt schedules is correct and free of errors.

CLI Command

Options

Flag
Type
Description

--path

Optional, TEXT

Path to paradime_schedules.yml file. [default: paradime_schedules.yml]

--help

Show CLI command options and exit.

Examples

Verify the paradime_schedules.yml file with the Bolt schedules configurations does not contain errors.

CLI Command

Example output

Last updated

Was this helpful?