Azure / Azure/static-web-apps-cli
Please add a "Project not found" message
- Dominant language
- TypeScript
- Stars
- 668
- Forks
- 156
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Research direction
Start by locating the SWA CLI entry point that detects a project and reports the server exit status. Reproduce the command from a directory without a project, then trace the no-project path. Done means the CLI clearly reports that no project was found in the current directory before quitting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100