shanmu

Results 23 comments of shanmu

## A trailing space design ### What do we support now - subcommand - itself - aliases - positional argument - optional flags - long flags - short flags -...

Only the cases of the values is relatively complex and are blocked by other issues. The cases for others are relatively certain. We could get benefit from https://github.com/clap-rs/clap/commit/67e31af334346e35a540c49ba2fec46bda5ae880, and add...

Looking forward to your thoughts. Your feedback is really important!

I haven't found a way to handle fish's trailing space yet. As for bash, zsh, elvish, and powershell, we can close the trailing space and handle trailing space in the...

Track issue: https://github.com/clap-rs/clap/issues/3166 - [code](https://github.com/clap-rs/clap/blob/master/clap_complete/src/dynamic) - [tests](https://github.com/clap-rs/clap/blob/master/clap_complete/tests/testsuite/dynamic.rs)

There is a related case https://github.com/clap-rs/clap/pull/5602#discussion_r1705107817.

This feature is undoubtedly a powerful capability. Let me try to explain my understanding of this feature. For external subcommand completions, we can categorize them into cases that require forward...

Yes, you can use `complete` subcommand to generate the completion script.

>If this isn't closing out the issue, what is left? I don't understand what you mean. Adding the related issue is for easier tracking :)

I think that there is a related issue https://github.com/clap-rs/clap/issues/5540.