At the moment we're using clap-generate to generate completion scripts.
The only issue is completing apply and info with available schemes. As they are dynamic, i wasn't able to make clap's possible_values take that list.
Currently, i've been able to make it work by manually changing the completion file after generation, but maybe there's a way to fix it inside the code, or maybe with a github action?
At the moment we're using clap-generate to generate completion scripts. The only issue is completing
apply
andinfo
with available schemes. As they are dynamic, i wasn't able to make clap'spossible_values
take that list. Currently, i've been able to make it work by manually changing the completion file after generation, but maybe there's a way to fix it inside the code, or maybe with a github action?