Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UX on missing project #4

Open
remy opened this issue Oct 6, 2023 · 1 comment
Open

UX on missing project #4

remy opened this issue Oct 6, 2023 · 1 comment
Assignees

Comments

@remy
Copy link

remy commented Oct 6, 2023

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.

@tbeseda
Copy link
Contributor

tbeseda commented Oct 6, 2023

That's good feedback. I agree "project" feels like a sub-command.

@macdonst macdonst self-assigned this Oct 6, 2023
macdonst added a commit that referenced this issue Oct 6, 2023
Signed-off-by: macdonst <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants