Arg dynamic completion via ValueHint::Execute(String)
#5449
Labels
A-completion
Area: completion generator
C-enhancement
Category: Raise on the bar on expectations
M-breaking-change
Meta: Implementing or merging this will introduce a breaking change.
Please complete the following tasks
Clap Version
master
Describe your use case
Add dynamic completion for
clap::Arg
Describe the solution you'd like
Add
ValueHint::Execute(String)
to generating possible completion candidates by exectuting the command.Describe the solution you'd like
Add
ValueHint::Execute(String)
to generate possible completion candidates by executing the command.Each line of the command output is a possible completion candidate.
Environment variabes
$COMP_LINE
and$COMP_POINT
should passed when executing the command.Alternatives, if applicable
No response
Additional Context
Similar issues:
Solved issues:
The text was updated successfully, but these errors were encountered: