appwrite / sdk-for-cli

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

🚀 Feature: Clarify when no functions are deployed #63

Closed InfiniteVerma closed 1 year ago

InfiniteVerma commented 1 year ago

🔖 Feature description

If the user runs appwrite deploy function and presses enter without selecting any function, the CLI proceeds without informing user of anything.

If the user (like me) doesn't read the instructions properly, they might press enter and think the first function has been deployed.

https://user-images.githubusercontent.com/45547198/195146201-83f2f0f0-8f9f-48cf-a144-68c848be3440.mp4

🎤 Pitch

Prompt the user to select at least one function to deploy.

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

🏢 Have you read the Code of Conduct?

MoskalykA commented 1 year ago

I would like to do this if it is acceptable