CLI
The tractorbeam command builds and operates Tractorbeam Projects.
tractorbeam <subcommand> [flags]
Commands
| Command | Description |
|---|---|
init |
Create a Tractorbeam Project. |
login |
Sign in to Tractorbeam. |
logout |
Sign out of Tractorbeam on this machine. |
whoami |
Show who this machine signs in to Tractorbeam as. |
auth |
Inspect sign-in and create API keys. |
auth token |
Print an access token for Tractorbeam’s API. |
auth create-key |
Create an API key acting as you. |
configure |
Save the Workspace a Project targets. |
build |
Build a Project and its Apps. |
plan |
Show what applying a Project would change. |
apply |
Build and apply a Project to the control plane. |
deploy |
Build an App and deploy it to a Branch. |
branch |
Manage a Workspace’s Branches. |
branch list |
List the Workspace’s Branches. |
branch create |
Fork a Branch. |
branch switch |
Make a Branch current. |
branch merge |
Merge a Branch into another. |
branch delete |
Delete a Branch. |
branch get |
Retrieve a Branch. |
secret |
Manage encrypted Secret values. |
secret set |
Set a Secret’s value. |
secret list |
List all Secrets. |
secret delete-value |
Delete a Secret’s value. |
secret list-versions |
List a Secret’s versions. |
secret set-branch-version |
Set the version a Branch uses. |
secret clear-branch-version |
Clear the version a Branch uses. |
connect |
Connect a Connector to its provider. |
connector |
Inspect and disconnect Connectors. |
connector list |
List all Connectors. |
connector get |
Retrieve a Connector. |
connector list-connections |
List all connections. |
connector get-connection |
Retrieve a connection. |
connector delete-connection |
Delete a connection. |
provider |
Read and set the OAuth 2.0 app each provider’s sign-in uses. |
provider set-oauth-app |
Set the OAuth 2.0 app a provider’s sign-in uses. |
provider get |
Retrieve a provider. |
provider get-oauth-app |
Retrieve an OAuth 2.0 app. |
blobs |
Upload the files Blob fields reference. |
blobs upload |
Upload a file as a Blob. |
blobs create-url |
Create a Blob URL. |
export |
Export the Workspace. |
import |
Import an export into the Workspace. |
storage |
Read and upgrade the Workspace’s storage. |
storage get |
Read the Workspace’s storage. |
storage upgrade |
Upgrade the Workspace’s storage. |
dev |
Develop a Project on your personal Branch. |
mcp |
Connect agents to the Project’s MCP Servers. |
mcp add |
Add the Project’s MCP Servers to agent harnesses. |
account |
The Tractorbeam API’s account operations. |
account get |
Retrieve the Workspace’s Account. |
account invite-manager |
Invite an Account manager. |
workspace |
The Tractorbeam API’s workspace operations. |
workspace list |
List your Workspaces. |
workspace create |
Create a Workspace. |
workspace get |
Retrieve the Workspace. |
workspace archive |
Archive the Workspace. |
workspace get-limits |
Retrieve the Workspace’s limits. |
change-request |
The Tractorbeam API’s change request operations. |
change-request list |
List all change requests. |
change-request create |
Open a change request. |
change-request get |
Retrieve a change request. |
change-request close |
Close a change request. |
change-request merge |
Merge a change request. |
resource |
The Tractorbeam API’s resource operations. |
resource get |
List all Resources. |
object-type |
The Tractorbeam API’s object type operations. |
object-type list |
List all Object types. |
object-type get |
Retrieve an Object type. |
action |
The Tractorbeam API’s action operations. |
action list |
List all Actions. |
action get |
Retrieve an Action. |
action invoke |
Invoke an Action. |
action list-invocations |
List all Action Invocations. |
action get-invocation |
Retrieve an Action Invocation. |
action cancel-invocation |
Cancel an Action Invocation. |
app |
The Tractorbeam API’s app operations. |
app list |
List all Apps. |
app get |
Retrieve an App. |
query |
The Tractorbeam API’s query operations. |
query list |
List all Queries. |
query get |
Retrieve a Query. |
query invoke |
Invoke a Query. |
mutation |
The Tractorbeam API’s mutation operations. |
mutation list |
List all Mutations. |
mutation get |
Retrieve a Mutation. |
mutation invoke |
Invoke a Mutation. |
table |
The Tractorbeam API’s table operations. |
table list |
List all Tables. |
table get |
Retrieve a Table. |
dataset |
The Tractorbeam API’s dataset operations. |
dataset list-rows |
List a Dataset’s rows. |
commit |
The Tractorbeam API’s commit operations. |
commit list |
List all Commits. |
commit get |
Retrieve a Commit. |
context |
The Tractorbeam API’s context operations. |
context get-data |
Retrieve the data context. |
function |
The Tractorbeam API’s function operations. |
function invoke |
Invoke a Function. |
Global flags
Every command takes these flags.
| Flag | Description |
|---|---|
--help, -h |
Show help information. |
--version, -v |
Show version information. |
--wizard |
Start wizard mode for a command. |
--completions <bash|zsh|fish|powershell|sh|pwsh> |
Print shell completion script. |
--log-level <all|trace|debug|info|warn|warning|error|fatal|none> |
Sets the minimum log level. |
--cwd <directory> |
Run as if started in this directory. |
--format <text|json> |
Print text for a person, or a command’s result as JSON. Default: text. |
Environment variables
A flag left out falls back to its environment variable.
| Variable | Flags |
|---|---|
TRACTORBEAM_BRANCH |
--branch |
TRACTORBEAM_ORIGIN |
--origin |
TRACTORBEAM_TOKEN |
--token |
TRACTORBEAM_WORKSPACE |
--workspace |