Skip to content

fix: drop organizations create from CLI#66

Merged
yorkable merged 1 commit into
mainfrom
chore-remove-orgs-create
May 1, 2026
Merged

fix: drop organizations create from CLI#66
yorkable merged 1 commit into
mainfrom
chore-remove-orgs-create

Conversation

@yorkable

@yorkable yorkable commented May 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Org provisioning (create) joins org deletion as not exposed via CLI. Both are platform-side admin operations where the web console is the appropriate path; both have high blast radius if invoked accidentally.

What's removed

  • syllable organizations create cobra command + all its flags (--display-name, --logo, --description, --domains, --saml-provider-id)
  • 3 related tests
  • Client.PostMultipartForm helper (no remaining caller; the internal doMultipartForm + PutMultipartForm for org update stay)
  • AGENTS.md command listing + resource-overview row

What's kept

  • organizations get (read-only)
  • organizations update --display-name NAME ... (modifies the current org; multipart/form-data per spec)
  • Hidden organizations list alias for back-compat

Test plan

  • go test ./... passes (3 fewer tests, but the remaining update + get tests still pass)
  • go build clean
  • ./syllable organizations --help shows only get and update

🤖 Generated with Claude Code

Org provisioning is a platform-side admin operation — handing it to every
CLI user via a casual command shape doesn't match the blast radius. Same
reasoning that already kept organizations delete out of the CLI: web
console is the right path.

Removes:
- organizations create cobra command + flags
- TestOrganizationsCreate / RequiresDisplayName / RequiresLogo
- Client.PostMultipartForm helper (no remaining caller)
- AGENTS.md command listing + resource-overview row

Update still uses multipart/form-data via PutMultipartForm, so the
internal doMultipartForm + helper stay.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@yorkable
yorkable merged commit 8694593 into main May 1, 2026
2 checks passed
@yorkable
yorkable deleted the chore-remove-orgs-create branch May 1, 2026 20:54
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.

1 participant