Skip to content

feat: add CLI command to get and update organizations#3763

Merged
forestileao merged 13 commits intosuperplanehq:mainfrom
Vukotije:feat/cli-organisation-get-update
Mar 30, 2026
Merged

feat: add CLI command to get and update organizations#3763
forestileao merged 13 commits intosuperplanehq:mainfrom
Vukotije:feat/cli-organisation-get-update

Conversation

@Vukotije
Copy link
Copy Markdown
Collaborator

@Vukotije Vukotije commented Mar 27, 2026

Closes #3634

Summary

  • Add superplane organizations get command to view current organization details
  • Add superplane organizations update command with --name, --description, and --versioning-enabled flags
  • Register new organizations command (aliases: org, orgs) in the CLI root

Usage

superplane org get
superplane org update --name "My Org"
superplane org update --description "New description" --versioning-enabled=true

Test plan

  • superplane org get returns organization details in text/json/yaml formats
  • superplane org update --name "Test" updates only the name
  • superplane org update --description "Desc" updates only the description
  • superplane org update --versioning-enabled=false disables versioning
  • superplane org update with no flags returns an error
  • superplane org update --name "duplicate" with a taken name returns an error
  • make lint && make check.build.app pass

Command output

Screenshot 2026-03-27 153009 Screenshot 2026-03-27 152941 Screenshot 2026-03-27 152901

Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
@superplanehq-integration
Copy link
Copy Markdown

👋 Commands for maintainers:

  • /sp start - Start an ephemeral machine (takes ~30s)
  • /sp stop - Stop a running machine (auto-executed on pr close)

Copy link
Copy Markdown
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@forestileao
Copy link
Copy Markdown
Collaborator

@Vukotije
image
Build is failing for this one

@forestileao forestileao merged commit 17bc693 into superplanehq:main Mar 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI should allow to update org

2 participants