CLI arg parsing, dynamic completion?

I'm looking around for some nice way of handling CLI argument parsing. clap was the first I found and it looks very nice indeed.

I'm very interested in generating the completion, for multiple shells if possible. I found clap_completion for that, but there seems to be no way to do dynamic completion. Is it not supported or am I missing something?

(Several of the sub-commands will take a k8s namespace as argument and it would be cool to fetch those dynamically as that is something that'll change frequently.)

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.