akamensky / argparse

Argparse for golang. Just because `flag` sucks
MIT License
604 stars 62 forks source link

Add compatibility with complete library [ bash completions ] #118

Closed nightway1 closed 9 months ago

nightway1 commented 9 months ago

If this library had support for bash completions it would be a detail, it would make the library much more concise.

I imagine they could do it using the complete library https://github.com/posener/complete/tree/master or using the bash completions api, it would be nice if they added it.

akamensky commented 9 months ago

This library is specifically for command line argument parsing. This purpose is agnostic of OS and shell environment.

Bash completion only works in bash. This would be out of scope of this library functionality.