Skip to main content
major resource controls which connectors the app in the current directory can reach, and which environment it uses. Run these commands from inside the app’s folder. When you attach resources, the CLI generates local resource clients in your app so your code can call them.

major resource list

List all resources in your organization, showing which are attached to the current app.

major resource add

Attach a resource to the current app by ID. Use major resource list to find IDs.

major resource remove

Detach a resource from the current app by ID. Use major resource list to see attached resources.

major resource manage

Pick the app’s resources from an interactive list.

major resource create

Open the resource creation page in your default browser.

major resource env-list

List the environments available to the app and show which one is selected.

major resource env

Show the app’s current environment and switch to another one.
After switching, run major app start to use the new environment locally.