appwrite / sdk-for-cli

[READ-ONLY] Official Appwrite CLI >_
BSD 3-Clause "New" or "Revised" License
91 stars 26 forks source link

🚀 Enhancement: Sync cloud functions config with appwrite.json #126

Open Weav3r opened 6 months ago

Weav3r commented 6 months ago

🔖 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?

🏢 Have you read the Code of Conduct?

TheMaverickProgrammer commented 4 months ago

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!