enhance-dev / enhance-dev/cli

UX on missing project

Offen
#4 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @macdonst Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
2
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.