#[CLOSED] CLI Init function with old templates

1 messages · Page 1 of 1 (latest)

gleaming peak
#

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?

gleaming peak
#

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?

gleaming peak
#

Uh that was some time ago, I think via script on windows

gleaming peak
#

Ah no, it was via npm and I updated it now... 🙈

#

But I am still wondering how to set the build commands in the appwrite.json 😅

gleaming peak
#

Ohh nvm, the updated cli did it on its own and its working now 👍