Run
run
Runs a command in the synced project on a potentially remote cluster.
Similar in spirit to uv run, but runs a command in the synced project on a potentially remote cluster.
- Idea is that this could maybe be a building block for other commands.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
command
|
str | list[str]
|
The command to run, as a string or list of strings. |
required |
cluster
|
str
|
The cluster to run the command on. |
required |
Returns:
the subprocess.CompletedProcess object returned by the command.