clap_complete how to set external command #5197
Unanswered
Sherlock-Holo
asked this question in
Q&A
Replies: 1 comment
-
This kind of dynamic completion support isn't available at this time. I would expect a case like this to be supported by #1232 which is blocked on #3166. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a cli too and it has a command
prctl cg delete <CGROUP>
, also it hasprctl cg list
to list the cgroupshow to tell
clap_complete
when generateprctl cg delete <CGROUP>
related zsh completion script, the<CGROUP>
argument can be found by external commandprctl cg list
I found a tool complgen, it support external command, but the generated script is flawed, script generated by
clap_complete
have a better experience, except no external command supportBeta Was this translation helpful? Give feedback.
All reactions