Azure / Azure/static-web-apps-cli
Please add a "Project not found" message
- 主要言語
- TypeScript
- スター
- 668
- フォーク
- 156
- 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.
コントリビューションガイド
調査の方向性
まず、プロジェクトを検出してサーバーの終了ステータスを報告する SWA CLI のエントリポイントを見つけます。プロジェクトのないディレクトリからコマンドを再現し、その後、プロジェクトがない場合のパスを追跡します。CLI が終了する前に、現在のディレクトリにプロジェクトが見つからなかったことを明確に報告すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100