I am working on a cloud project, and seting up all the functions I wrote to the new 1.4 version. Since I have to recreate all the functions I tried to do it with the cli, but it creates the same old template as before. Is there a way to update the cli to get an other template? Besides that is there a way to create a function in the UI without connecting it to github?
Summary
The user encountered an issue with the CLI Init function using old templates. They later found out that the updated CLI resolved the issue. They also asked about setting build commands in the appwrite.json file and installation methods for the CLI. The user mentioned trying to set build commands in appwrite.json but it didn't work. They asked if there are alternative methods. They are working on a cloud project and recreating functions in the new 1.4 version. They asked if there is a way to update the CLI to get a different template and if it's possible to create functions in the UI without connecting to GitHub.
Solution: The user
whataboutno13
Rank 2: Process
Sep 25, 2023, 14:32
Additionally I tried to set build commands to the appwrite.json but it does not seem to work with "commands":"dart pub get", is there another way to do this?
Drake
Sep 25, 2023, 22:06
how did you install the CLI?
whataboutno13
Rank 2: Process
Sep 26, 2023, 07:20
Uh that was some time ago, I think via script on windows
whataboutno13
Rank 2: Process
Sep 26, 2023, 08:03
Ah no, it was via npm and I updated it now... 🙈
whataboutno13
Rank 2: Process
Sep 26, 2023, 08:04
But I am still wondering how to set the build commands in the appwrite.json 😅
whataboutno13
Rank 2: Process
Sep 26, 2023, 08:52
Ohh nvm, the updated cli did it on its own and its working now 👍