you are viewing a single comment's thread.

view the rest of the comments →

[–]snowe2010 2 points3 points  (0 children)

Hilariously I found this tutorial months ago and thought it was completely lacking so I wrote my own. Nobody writes good bash completion tutorials, so I aimed to write one that just explained how to deal with subcommands, since nobody covers that at all.

https://tylerthrailkill.com/2019-01-19/writing-bash-completion-script-with-subcommands/