Appwrite CLI working with Multiple Projects #991
lohanidamodar
started this conversation in
Ideas
Replies: 2 comments 1 reply
|
@christyjacob4 verify that I got idea of using |
0 replies
|
While copypasting |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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.ymlfileCreate
.appwrite.ymlfile 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.ymlfile and load the settings from there. If the file is not present it will use the default settings from preferences set usingappwrite initUsing alias
We could save multiple project settings by providing Alias in preferences
All reactions