You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clap_complete_nushell does not yet have support for ValueHint. Someone is welcome to contribute it and/or add Rust-native nushell completion support (see also #3166).
Note: we implicitly set the ValueHint based on an Arg being a PathBuf, see
Please complete the following tasks
Rust Version
rustc 1.80.0 (051478957 2024-07-21) (Alpine Linux 1.80.0-r0)
Clap Version
4.4.6 (4.5.3 for
clap_complete_nushell
)Minimal reproducible code
Steps to reproduce the bug with the above code
cargo run
Actual Behaviour
The following completion is generated:
Expected Behaviour
PathBuf
should have thepath
type in the completions, so that the native path completion works.Vec<PathBuf>
should have theglob
type, otherwise globbing breaks:sd a *
will return an error, because path*
doesn't exist.Additional Context
No response
Debug Output
The text was updated successfully, but these errors were encountered: