enhance-dev / enhance-dev/cli

UX on missing project

Open
#4 1 comment 0 reactions 1 assignee Claimed by @macdonst View on GitHub
Dominant language
JavaScript
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.