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

Git-style subcommand alias not working #628

Closed
lbai001 opened this issue May 3, 2017 · 3 comments
Closed

Git-style subcommand alias not working #628

lbai001 opened this issue May 3, 2017 · 3 comments

Comments

@lbai001
Copy link

lbai001 commented May 3, 2017

Seems like the alias for git-style subcommand is not working for us, we've tried

program.command('generate [thing] [name]', 'generate a new controller').alias('g');

and here's the outcome:

Commands:

    generate [thing] [name]  generate a new controller
    help [cmd]               display help for [cmd]

it looks like its not taking the alias attached at the end of the main command, is there anything missing from this code snippet?

It looks like this was supposedly merged 10months ago in 2.9.0 but we are still experiencing errors.

@mbilbille
Copy link

Yep, it has been merged but not released.
Here is a bypass #419 (comment)

@lbai001
Copy link
Author

lbai001 commented May 6, 2017

@mbilbille thanks a bunch :D

@shadowspawn
Copy link
Collaborator

I was not able to reproduce this. (Hopefully fixed!)

Feel free to open a new issue if it comes up again, with new information and renewed interest.

Thank you for your contributions.

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