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

Aliases with topic Separator set to a space doesn't work. #389

Closed
m-pizarro opened this issue Mar 17, 2022 · 2 comments · Fixed by #390
Closed

Aliases with topic Separator set to a space doesn't work. #389

m-pizarro opened this issue Mar 17, 2022 · 2 comments · Fixed by #390

Comments

@m-pizarro
Copy link

Question, I have configured the topicSeparator with spaces.

My aliases look like the following:

static aliases = ['ls:policy', 'list:policy']

And the commands in the documentation are generated as expected:

image

If I run an alias command without params it works well. That is: oex ls policy or oex list policy

But if I try to execute any of the two commands with parameters, for example: oex ls policy aws. I get the error: command ls:policy:aws not found.

Instead this does work by executing the following command: oex ls:policy aws (as in oclif v1)

Could this be due to a problem in my configuration or is it a bug in oclif v2?

@mdonnalley
Copy link
Contributor

Thanks @m-pizarro I just opened a PR to patch this. I'll hopefully have it merged by today

#390

@m-pizarro
Copy link
Author

Oh great! Thanks @mdonnalley !

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

Successfully merging a pull request may close this issue.

2 participants