2
Appwrite CLI working with Multiple Projects
Source: appwrite/appwrite#991 · opened by @lohanidamodar
Working with multiple Appwrite projects at once is common. Right now each time we want CLI to work with another project, we need to run Appwrite init again every time, this is painful if we want to keep switching between projects.
Suggested Solutions
Using .appwrite.yml file
Create .appwrite.yml file in a local directory with the required settings (project id, api key, host) and execute Appwrite CLI from that folder, it will look for .appwrite.yml file and load the settings from there. If the file is not present it will use the default settings from preferences set using appwrite init
Using alias
We could save multiple project settings by providing Alias in preferences
1. Appwrite init —alias=project1 ...... (like this we can setup multiple alias)
2. appwrite select project1 (will select an alias project to work with)
3. All further appwrite commands will take project1 settings
Suggested Solutions
Using .appwrite.yml file
Create .appwrite.yml file in a local directory with the required settings (project id, api key, host) and execute Appwrite CLI from that folder, it will look for .appwrite.yml file and load the settings from there. If the file is not present it will use the default settings from preferences set using appwrite init
Using alias
We could save multiple project settings by providing Alias in preferences
1. Appwrite init —alias=project1 ...... (like this we can setup multiple alias)
2. appwrite select project1 (will select an alias project to work with)
3. All further appwrite commands will take project1 settings
No pledges yet. Be the first to back this.
Comments
Similar requests
Serverless / Decentralized Appwrite; Specifically, a low-latency Primary Database Cluster or Blockchain serving distinct Appwrite installations and Frontends
1 vote · 0 comments
feat: OAuth Provider Group-to-Appwrite Team Mapping
1 vote · 0 comments
🚀 Feature: Prisma Integration (connector)
1 vote · 0 comments
Vector storage on Appwrite ?
20 votes · 0 comments
Appwrite easy custom installation tool
4 votes · 0 comments
No comments yet.