Comment by teknopaul
2 days ago
Someone needs to make bash_completion really trivial to write.
It isn't: and even copy paste is hard. Clever people write apps that are bash_completion friendly.
If first main arg is bash friendly
mycli myfunc ...
Myour whole cliapp becomes "discoverable" with one tab keystroke that you probably already typed hopefully anyway.
Never need to advertise a new feature.
Deprecate by removing from completion without breaking scripts.
Then _everything_ already is in your cli, because someone already did it.
Read the replies to his comment: https://news.ycombinator.com/item?id=44854035#44854278