Rank 2: Process
I get the following error when trying to create a function using the appwrite CLI(4.0.0)
$ appwrite init function
? What would you like to name your function? test
? What ID would you like to have for your function? unique()
? What runtime would you like to use? Node.js (node-18.0)
✗ Error Command failed: cmd /c "git clone -b v3 --single-branch --depth 1 --sparse https://github.com/appwrite/functions-starter ."
error: unknown option `sparse'
usage: git clone [<options>] [--] <repo> [<dir>]
...
Suggestion: Try updating your git to the latest version, then trying to run this command again.
The function is still created in the appwrite console, but nothing is added to the appwrite.json and no files are added to functions/test.
Now, im not actually interested in automatic deployment with git, since i already have a deployment pipeline setup. However, it seems that git deployment is being forced since the new update? When i create functions through the appwrite console, i'm forced to connect to git. So is that just how it is now? Or can i avoid this whole git deployment procedure, either in the console or using the CLI.
