Azure / static-web-apps-cli

Azure Static Web Apps CLI ✨
https://aka.ms/swa/cli-local-development
MIT License
597 stars 117 forks source link

Please add a "Project not found" message #752

Open AverageCakeSlice opened 1 year ago

AverageCakeSlice commented 1 year ago

I will frequently forget to change directory into my project directories from the command-line before attempting to run the SWA CLI. As it is currently, the CLI will simply state "node exited with code 0" with no additional information.

It would be helpful if the CLI tool could display a message stating when no project could be found in the current directory before quitting. It would be a nice reminder to check the path that we're executing from instead of being frustrated at the CLI seemingly bugging out.