Azure / Azure/static-web-apps-cli

Please add a "Project not found" message

Aperta
#752 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
668
Fork
156
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript
Ambito
cli
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.