UX on missing project

Open
#4 1 comment 0 reactions 1 assignee View on GitHub

@macdonst is already working on this.

Since Oct 6, 2023.

Assessment

This issue has not been assessed yet.

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.

Dominant language
JavaScript
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from enhance-dev/cli

All issues in enhance-dev/cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.