sdk-for-cli icon indicating copy to clipboard operation
sdk-for-cli copied to clipboard

🚀 Enhancement: Sync cloud functions config with appwrite.json

Open Weav3r opened this issue 1 year ago • 1 comments

🔖 Enhancement description

There is currently no way to sync functions created/modified in the console with the appwrite.json config file. Changes made to a project, collections and buckets can be synced with the init command to update the appwrite.json.

🎤 Pitch

I propose a similar command (not necessarily init) be available to sync functions on the console with the appwrite.json using the cli.

👀 Have you spent some time to check if this issue has been raised before?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Weav3r avatar Apr 26 '24 04:04 Weav3r

I second this. Additionally, appwrite init function prompts me to create a new function whereas appwrite init collection and appwrite init database both sync to the appwrite.json file! This is not intuitive at all if this is the intended behavior for function option. Especially considering the --help and documentation each mention no difference between these!

TheMaverickProgrammer avatar Jun 22 '24 03:06 TheMaverickProgrammer