appwrite / sdk-for-cli

[READ-ONLY] Official Appwrite CLI >_
BSD 3-Clause "New" or "Revised" License
85 stars 29 forks source link

šŸš€ Enhancement: Create Organisation using CLI #130

Open Aarush-Acharya opened 2 weeks ago

Aarush-Acharya commented 2 weeks ago

šŸ”– Enhancement description

Allow creation of an organisation using CLI

šŸŽ¤ Pitch

I work for an Open Source voice platform Resonate, i am preparing a script, to clone our main backend architecture on appwrite self hosted on the contributors local host. The script needs to be as automated as possible but

appwrite projects create --projectId resonate --name Resonate --teamId 666ce18b003caf6274b6

The command to create a project requires the teamId (organisation iD) as an argument but as there is no means for me to create an organisation the from CLI I would have to take this teamId from the contributor as an input. If there was a command to create an organisation from the CLI hence providing the id of it as the teamId argument in the create project command this would entirely automate my script without the need of any input from the contributor

šŸ‘€ Have you spent some time to check if this issue has been raised before?

šŸ¢ Have you read the Code of Conduct?

FatahChan commented 1 day ago

Hi I created a local patch to do something similar

Basically added a new question asking if you want to create a new organization or not

image image

Will do a pull request later on