Add brev org create command#257
Conversation
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Co-Authored-By: Alec Fong <alecsanf@usc.edu>
ac4ff40 to
d9f376d
Compare
|
Good question! I included the timing information for a few reasons:
That said, if you prefer to remove the timing information to keep the message simpler, I'm happy to make that change! Just let me know. |
Add brev org create command
Summary
Adds a new
brev org create <name>command that allows users to create new organizations through the CLI. After successful creation, the command displays organization details with timing information and suggests runningbrev org set <name>to switch to the new organization (but does not automatically set it).Key changes:
pkg/cmd/org/create.gofollowing existing org command patternsCreateOrganizationmethod toOrgCmdStoreinterfaceReview & Testing Checklist for Human
brev org create test-org-nameto verify it actually creates an organization and displays the expected outputbrev org create ""), duplicate organization names, and network failuresbrev org --helpandbrev org create --helpworks correctlyNotes
CreateOrganizationAPI method already exists inpkg/store/organization.go, so no backend changes were neededset,ls) for consistencyLink to Devin run: https://app.devin.ai/sessions/80f5d4a18427494a8eda0fb79e91af00
Requested by: @theFong