LivingProteinOriginal post
Rank 1: Thread
The CLI never changes the json file,
for example:
Bash
appwrite client --endpoint https://url --project-id my-project --key standard_12345I do not know what is the purpose of this command, but after executing it, unless I manually update the endpoint field in the appwrite.json , this command never works works:
Bash
appwrite login --email albert@albert.com --password 1234qwerSo my question is:
Do I have to manually change the endpoint in the appwrite.json to switch between environments?
What I am missing here?
Summary
To switch between environments in the appwrite.json file, developers need to manually update the endpoint field. The CLI does not automatically change it.