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
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...