rebase shell
Open an interactive shell in a cloud container with a target's image, environment variables, secrets, and volumes.
Synopsis
rebase shell <function>
rebase shell <workflow> --workflow
rebase shell --id <id>
rebase shell <function> --project <project> --version-id <version-id>
rebase shell <function> --idle-timeout 600 --ttl 3600Behavior
rebase shell starts a container from a deployed function or workflow, with the same
image, environment variables, secrets, and volume mounts, and connects your terminal to an
interactive shell inside it. The first run may take a minute while
dependencies install. Press Ctrl-D or type exit to end the session; the container is
removed when you leave.
[name] is looked up as a function unless you pass --workflow. Omit it when using
--id.
Arguments
| Argument | Type | Description |
|---|---|---|
[name] | str | Function (default) or workflow name. Omit when using --id. |
Options
| Option | Type | Description |
|---|---|---|
--project, -p | str | Project name for name-based lookup. |
--id, -i | str | Exact function or workflow ID. |
--workflow, -w | flag | Open a shell in a workflow's environment instead of a function's. |
--version-id, -v | str | Shell into a specific version instead of the current one. |
--idle-timeout | int | Close the session after this many seconds without activity. |
--ttl, -t | int | Hard session limit in seconds, capped by the server. |

