Usage
Options
Behavior
cassian up), it reuses it and does NOT tear it down afterward.
Use cases
Exit codes
The exit code from your command is passed through. If your script exits with code 1,cassian run exits with code 1.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
One-shot: up, sync, exec, down.
cassian run <command>
cassian run "python train.py --epochs 50"
cassian run --keep "python eval.py"
| Flag | Description | Default |
|---|---|---|
--keep | Keep instance running after command finishes | false |
cassian run "python train.py"
→ cassian up (if needed)
→ sync files to /workspace
→ run command
→ cassian down (always, even on failure)
cassian up), it reuses it and does NOT tear it down afterward.
# Overnight training auto-stops when done
cassian run "python train.py --epochs 500"
# CI/CD pipeline
cassian run "pytest tests/"
# Quick one-off
cassian run "python -c 'import torch; print(torch.cuda.get_device_name())'"
# Keep instance for debugging after run
cassian run --keep "python train.py"
cassian run exits with code 1.