Azure / Azure/static-web-apps-cli
Please add a "Project not found" message
未关闭
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 668
- 派生
- 155
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位 SWA CLI 中检测项目并报告服务器退出状态的入口点。在没有项目的目录中重现该命令,然后跟踪无项目路径。完成的标准是:CLI 在退出前明确报告当前目录中未找到项目。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100