bash completion for argument defined with value_name
should complete with file names
#1179
Labels
value_name
should complete with file names
#1179
Ripgrep has a
-g
option that could use some improved Bash completion. Please seeRust Version
Affected Version of clap
Expected Behavior Summary
Either do nothing:
or complete with file names:
Additionally, the Ripgrep
-g
option allows a leading!
to indicate negation. If Clap can support this, then an example would beActual Behavior Summary
Currently the typed in value is erased and replaced with
<GLOB>...
:Steps to Reproduce the issue
See above.
Sample Code or Link to Sample Code
I could easily be wrong, but Ripgrep seems to instantiate a
clap-rs
Arg
using something similar to:It seems that
value_name
is used in the completion (<GLOB>...
) instead of file names.Debug output
The text was updated successfully, but these errors were encountered: