-
Notifications
You must be signed in to change notification settings - Fork 31
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
Fix completion for subcommands #126
Conversation
Thanks for the contribution! Before we can merge this, we need @jrevillard to sign the Salesforce.com Contributor License Agreement. |
e9906b7
to
6c1a2d6
Compare
@RasPhilCo anything I can do to help get this landed? It'd be a great improvement to have for the heroku cli :) |
@G-Rath have you tested it out? PR looks good but I don't have time to do a full implementation before the holidays but trust your testing. |
@RasPhilCo applying it to I've not used a lot of the commands to the point of knowing them in enough detail to easy check they've all got their flags and the behaviours are working, but feel free to give me a list of situations you'd like me to try out if you have anything you'd like tested :) One thing of note is that the heroku autocomplete file seems to be custom - it's got analytics & sources commands from a file in
|
@jrevillard @G-Rath Great, thanks! And have a nice holiday! |
Great, thanks @RasPhilCo @G-Rath! |
@RasPhilCo cheers, you too! @jrevillard thanks for this! |
# [0.3.0](v0.2.1...v0.3.0) (2020-12-17) ### Bug Fixes * completion for subcommands ([#126](#126)) ([30b2857](30b2857)), closes [#9](https://github.com/oclif/issues/9) * **zsh:** update zsh autocomplete to work with default settings ([#92](#92)) ([b9e8e7b](b9e8e7b)), closes [#91](#91) ### Features * install on windows bash ([#34](#34)) ([4ca20e5](4ca20e5))
🎉 This PR is included in version 0.3.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
@RasPhilCo @G-Rath @jrevillard why was As far as I can tell this makes autocompletion for any oclif CLI dependent on the user installing |
fixes #9
This modification make mandatory the bash-completion installation as it depends on
__ltrim_colon_completions
and_get_comp_words_by_ref
.I removed the embedded
__ltrim_colon_completions
because_get_comp_words_by_ref
is too big to be embedded.