SuperPlane CLI
Use the SuperPlane CLI to configure access and manage canvases from your terminal.
Installation
Section titled “Installation”Download the latest binary for your operating system and architecture:
curl -L https://install.superplane.com/superplane-cli-darwin-arm64 -o superplanechmod +x superplanesudo mv superplane /usr/local/bin/superplaneOr download a specific version:
curl -L https://install.superplane.com/v0.1.6/superplane-cli-darwin-arm64 -o superplanechmod +x superplanesudo mv superplane /usr/local/bin/superplaneAuthentication
Section titled “Authentication”The SuperPlane CLI uses API tokens for authentication. To generate a new one:
- Go to Profile > API token in the SuperPlane UI
- Click the Regenerate Token button
Configure the CLI
Section titled “Configure the CLI”Set the API URL and your API token before running any commands:
superplane config set api_url <SUPERPLANE_URL>superplane config set api_token <API_TOKEN>Managing canvases
Section titled “Managing canvases”Create a canvas
Section titled “Create a canvas”superplane canvases create <canvas_name>Describe a canvas
Section titled “Describe a canvas”superplane canvases get <canvas_name>Update a canvas
Section titled “Update a canvas”Export the existing canvas, edit it, then apply your changes:
superplane canvases get <canvas_name> > my_canvas.yaml# update your YAML to reflect the changes you want to makesuperplane canvases update -f my_canvas.yamlDiscovering components
Section titled “Discovering components”List integrations
Section titled “List integrations”superplane integrations listGet details for one integration:
superplane integrations get <integration_name>List components
Section titled “List components”List all available components:
superplane components listList components from a specific integration:
superplane components list --from <integration_name>Get details for one component:
superplane components get <component_name>List triggers
Section titled “List triggers”List all available triggers:
superplane triggers listList triggers from a specific integration:
superplane triggers list --from <integration_name>Get details for one trigger:
superplane triggers get <trigger_name>Managing integrations
Section titled “Managing integrations”List only integrations connected to your authenticated organization:
superplane integrations list --connectedList resources available from a connected integration:
superplane integrations list-resources --id <connected_integration_id> --type <resource_type>You can pass additional query parameters when needed:
superplane integrations list-resources \ --id <connected_integration_id> \ --type <resource_type> \ --parameters key=value,key2=value2Updating SuperPlane
Section titled “Updating SuperPlane”To upgrade to the latest version, download the latest binary and replace the existing one:
curl -L https://install.superplane.com/superplane-cli-darwin-arm64 -o superplanechmod +x superplanesudo mv superplane /usr/local/bin/superplaneReplace darwin-arm64 with your operating system and architecture
(e.g., linux-amd64, darwin-amd64).