Bash Help to Complete
This week I’ve published a set of Git utilities for aliasing commands with wrapper scripts. Check the documentation for detailed getting started and usage instructions, the source code is available on GitHub. What follows is the TLDR for installation and usage…
Clone
mkdir -p ~/git/hub/bash-utilities
cd ~/git/hub/bash-utilities
git clone --recurse-submodules git@github.com:bash-utilities/help-to-complete.git
Install
cd ~/git/hub/bash-utilities/help-to-complete
make install
Usage
After installing bash-help-to-complete
the any script within the alias-scripts/
directory may be installed by name, eg…
sudo help-to-complete --executable script-name\
--completion-dir /usr/share/bash-completion/completions\
--help-option '--usage'