You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running yo to discover which generators I have installed, the name of a generator is incorrectly formatted when it contains a -. For example, say I have installed the generator generator-sample-project, when running yo the output is:
> yo
?'Allo Tom! What would you like to do? (Use arrow keys) Run a generator> sample Project ────────────── Update your generators Install a generator Find some help Clear global config(Move up and down to reveal more choices)
Instead of this I would expect either
sample-project
sample project
Sample project
Sample Project
But not sample Project.
I am running version 4.0.0 at Windows 10.
The text was updated successfully, but these errors were encountered:
Agreed, this should be improved. I think this issue is actually a subset and duplicate of #50. 👍
In theory yo could add some heuristics to figure out a name. But there will always be edge cases that break those heuristics. If someone wants a good name, they should specify in the config.
Someone please yell at me if I'm wrong about that assumption and you want to advocate for leaving this issue open separately. Cheers! 🎩
When running
yo
to discover which generators I have installed, the name of a generator is incorrectly formatted when it contains a-
. For example, say I have installed the generatorgenerator-sample-project
, when runningyo
the output is:Instead of this I would expect either
sample-project
sample project
Sample project
Sample Project
But not
sample Project
.I am running version
4.0.0
at Windows 10.The text was updated successfully, but these errors were encountered: