enhance-dev / enhance-dev/cli

UX on missing project

Aperta
#4 1 commento 0 reazioni 1 assegnatario Rivendicata da @macdonst Vedi su GitHub
Lingua principale
JavaScript
Stelle
2
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I ran the enhance cli on an existing (non-enhance) project to see what would happen and I got this reply:

```
~/dev/webmention.app$ npx enhance dev
Error: No Enhance project found! To create one, run: npx enhance new project
```

So I figured it would add the deps I needed if I ran `npx enhance new project` - but of course it didn't, it created a new project called project.

Can I suggest a minor tweak that it read:

```
Error: No Enhance project found! To create "my-project", run: npx enhance new my-project
```

Just adding `my-` makes it a little clearer that this is a variable rather than command.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.