Skip to main content

JetBrains Cadence CLI

Reason this release was yanked:

execution start fails on empty config.env.python

Project description

Cadence CLI

Install

pip install jetbrains-cadence

This will create a cadence script in your current environment.

Completions

cadence CLI uses click for its command line interface. click can automatically generate completion files for bash, fish, and zsh which can either be generated and sourced each time your shell is started or, generated once, save to a file and sourced from there. The latter version is much more efficient.

To enable shell completions:

bash

echo 'eval "$(_CADENCE_COMPLETE=bash_source cadence)"' >> ~/.bashrc

zsh

echo 'eval "$(_CADENCE_COMPLETE=zsh_source cadence)"' >> ~/.zshrc

fish

echo 'eval (env _KHAL_COMPLETE=fish_source khal)"' >> ~/.config/fish/completions/khal.fish

Getting Started

cadence login

If you want to use Cadence CLI in the non-interactive environment, you can create the token manually and pass it via CADENCE_TOKEN environment variable

Start the execution from YAML config

cadence execution start --preset path/to/config.yaml

This will print the ID of the started execution.

See the execution status

cadence execution status <YOUR-EXECUTION-ID>

Stop the execution

cadence execution stop <YOUR-EXECUTION-ID>

More commands

Get information about the execution as a JSON

cadence execution info <YOUR-EXECUTION-ID>

List executions

cadence execution list

Options:

  --offset INTEGER  [default: 0]
  --count INTEGER   [default: 50]
  --all             List all executions. Count and offset are ignored
  --json / --table  Output format  [default: table]

View execution logs

cadence execution logs <YOUR-EXECUTION-ID>

Options:

  --to DIRECTORY  [required]
  --inputs        Include inputs
  --no-outputs    Exclude outputs

Open terminal

cadence execution terminal <YOUR-EXECUTION-ID>

Download data

cadence execution download <YOUR-EXECUTION-ID>

Workspace management

Display information about the current workspace:

cadence workspace

See available workspaces:

cadence workspace list

Set workspace:

cadence workspace set <YOUR-WORKSPACE-ID>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jetbrains_cadence-1.0.0.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jetbrains_cadence-1.0.0-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file jetbrains_cadence-1.0.0.tar.gz.

File metadata

  • Download URL: jetbrains_cadence-1.0.0.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.4 Darwin/24.3.0

File hashes

Hashes for jetbrains_cadence-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4920653ff3f6ec04ac23a2a71184f5fe853173b18b71dfd9955ae44d9b897f8d
MD5 9ff3704393c3f27ec7764a6503c593e3
BLAKE2b-256 6856f4773bad29b176876e509263acfd9b5eaf1445813e3a7777ef9454f4c520

See more details on using hashes here.

File details

Details for the file jetbrains_cadence-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: jetbrains_cadence-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.4 Darwin/24.3.0

File hashes

Hashes for jetbrains_cadence-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b31838aa69f5ad4f6b75cc3632da967d4a4732f4f84224c505d4aa688610da57
MD5 92c4e199f65c5c90df28214b68637bb2
BLAKE2b-256 6a809b0a43c5d7744fec10519f70e2d196e98500763a52aa23cd9d47f53b26e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page