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

alias for generator name #788

Closed
yonatanmn opened this issue Apr 8, 2015 · 2 comments
Closed

alias for generator name #788

yonatanmn opened this issue Apr 8, 2015 · 2 comments

Comments

@yonatanmn
Copy link

My generator name is quite long, is there a way for making
yo tooLongName appName be less tedious?
If so - how yeoman prevent collisions with other installed generators with the same name?

BTW, I believe the workaroung proposed here will not be relevant for the main generator

@SBoudrias
Copy link
Member

A generator name is the name of the npm packages. That's just the way it works, you can name your generator a shorter name if that make more sense for you.

@WooodHead
Copy link

WooodHead commented Jan 1, 2018

I have the same problem, try to add bash alias alias yt='yo tooLongName ' to ~/.bash_profile

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