So, I finally got github to activate the discussions feature for our repo. https://github.com/clap-rs/clap/discussions
I am moving some issues to discussion and it looks github is going to send email when thats being done. So, please be ready to get spam emailed :D
clap-rs logo just got shown in github satellite keynote. :party_ball:
That’s so awesome!!
hey there! tried to contribute something! https://github.com/clap-rs/clap/pull/2020
@Leo Le Bouter Thanks. I reviewed it. Let's get it merged soon! :grinning:
@pksunkara the issue with the Generator trait as it is, is that it can list "flags", "shorts" and "longs" but it can't link those back to the actual clap::Arg which means for some shells like fish, zsh or elvish, it can't use the interface for providing in-line help during completion (by including the clap::Arg description)
for bash, it is fine because it doesnt support or do inline help, but for other shells it's an issue
this is the reason no other impl of Generator other than the bash one uses the shorts_and_visible_aliases method
I want to give clap-generate a rewrite entirely for much clearer code but I am a bit scared by the Generator impl for zsh, it looks so complicated
it seems it just doesnt make sense to provide interfaces that list shorts, longs, or "flags" (whatever that means in this context, it actually is a clap::Arg but not sure why it's called "flag")
you always need the actual Arg to provide useful completions
the subcommand system makes it complex to provide completions it seems
Sounds good then. Thanks for looking into it.