I have created a project, added some collections and made some functions using the web interface. The functions reside in a GitHub repository.
So, with the appwrite-cli, I connected to the project and a file called appwrite.json was generated. When I ran appwrite init collection all the collections information were fetched, including the attributes and things.
But when I ran appwrite init function, the prompt to create a new function appeared. But I want all the data of the functions I have already created in the web console, so that I can edit the events, permissions etc fields in the appwrite.json file.
I hope I'm clear.
If you're deploying using GitHub, you wouldn't be able to use the CLI for managing the function
Recommended threads
- Appwrite Auth & Function don't reveal cl...
When I execute a function or sign in with my Flutter app, Appwrite does not show my real IP: instead, it seems that Appwrite shows Fastly CDN IP address.
- All function deployments fail (node 18-2...
Error: bash: /usr/local/server/helpers/build-cache.sh: No such file or directory Sidecar error: Build archive was not created at /mnt/code/code.tar.gz Scope: ...
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...