Skip to content

Yet another question about completions #3622

Answered by epage
allanger asked this question in Q&A
Discussion options

You must be logged in to vote

At the moment, clap supports compeleting

  • Flags and subcommands
  • value-hints
  • static enumerated values

The static enumerates values (possible_values / ArgEnum) support help text with them (PossibleValue::help) which will show up in completions that support it.

We do not have support for dynamic completions yet, see #1232. I'll make a note on that issue so we don't forget help text for dynamic completions.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by allanger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants