Using clap_complete::dynamic::ArgValueCompleter
for buck2
#5707
-
Hi! I'm super excited to see dynamic completions happen. A colleague of mine—Ben—implemented some form of buck-driven completions for build target targets. If buck is to move over to For example, it'd be nice if the following could be supported in Buck natively:
(The |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
We have initial support for each of our primary shells. The issues are left open because we need to audit for shell-integration parity with the static completions we provide. That doesn't mean things are perfect. I was planning to add more shell-specific tests to see what holes we have. Feel free to give it a try and provide feedback! We're about to integrate it into nightly cargo as well. |
Beta Was this translation helpful? Give feedback.
We have initial support for each of our primary shells. The issues are left open because we need to audit for shell-integration parity with the static completions we provide.
That doesn't mean things are perfect. I was planning to add more shell-specific tests to see what holes we have.
Feel free to give it a try and provide feedback! We're about to integrate it into nightly cargo as well.