Replies: 6 comments 2 replies
-
Quick and dirty version in bash: https://gist.github.com/kirtfitzpatrick/e7a7828e99bae609955f08b35fc2c8b1 |
Beta Was this translation helpful? Give feedback.
-
Is there a plan to implement this in near future? |
Beta Was this translation helpful? Give feedback.
-
This issue has received a significant amount of attention so we are automatically upgrading its priority. A member of the community will see the re-prioritization and provide an update on the issue. |
Beta Was this translation helpful? Give feedback.
-
I'm sure there are nuances to this, but See https://yargs.js.org/docs/#api-reference-completioncmd-description-fn |
Beta Was this translation helpful? Give feedback.
-
Turns out the completion feature is already available, just not the ability to get the required script for your For zsh:
For bash:
Now the tricky part is which CDK binary to use.
Option A: Wrapper function
Simple and portable. Can easily be adjusted to use any other command (e.g. Option B: Alias & forward
However this won't work with anything else but Option C: Alias &
|
Beta Was this translation helpful? Give feedback.
-
Thank you for submitting this feature request! After closer examination of the issue by CDK product and development team, there are no plans to implement this in the near feature. Luckily, this feature is already available, it just requires some environment configuration. I am moving this to a GitHub discussion so the information in this thread can continue to be accessible. |
Beta Was this translation helpful? Give feedback.
-
When using command line (bash, zsh, etc.) autocomplete should show available options.
Use Case
It would be really useful for users as they won't have to memorize all options.
Proposed Solution
On pressing tab it should either autocomplete partially types options or show all available options.
Other
This is a 🚀 Feature Request
Beta Was this translation helpful? Give feedback.
All reactions