Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Enhancement: Create Organisation using CLI #130

Open
2 tasks done
Aarush-Acharya opened this issue Jun 15, 2024 · 4 comments · May be fixed by appwrite/sdk-generator#912
Open
2 tasks done

🚀 Enhancement: Create Organisation using CLI #130

Aarush-Acharya opened this issue Jun 15, 2024 · 4 comments · May be fixed by appwrite/sdk-generator#912
Labels
enhancement New feature or request

Comments

@Aarush-Acharya
Copy link

🔖 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?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@Aarush-Acharya Aarush-Acharya added the enhancement New feature or request label Jun 15, 2024
@FatahChan
Copy link

FatahChan commented Jul 1, 2024

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

@choir27
Copy link

choir27 commented Jul 16, 2024

On Appwrite version 1.6, the user will be able to initialize a team. I have confirmed this successfully creates a team by using the following command and pushing it to the Appwrite Console.

appwrite init team
? What would you like to name your team? My Awesome Team
? What ID would you like to have for your team? unique()
✓ Success:
ℹ Info: Next you can use 'appwrite push team' to deploy the changes.

@Aarush-Acharya
Copy link
Author

@choir27 this looks great

@Aarush-Acharya
Copy link
Author

@FatahChan great work

@choir27 choir27 linked a pull request Jul 18, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

3 participants