Last active
November 29, 2016 16:01
-
-
Save planetsizebrain/ddd8ed10622db9442f52 to your computer and use it in GitHub Desktop.
Liferay patching tool Bash autocomplete script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_patching-tool() | |
{ | |
local cur=${COMP_WORDS[COMP_CWORD]} | |
COMPREPLY=( $(compgen -W "auto-discovery diff help index-info info install list-collisions list-customizations list-plugins revert server-status setup store support-info update-plugins version" -- $cur) ) | |
} | |
complete -F _patching-tool patching-tool.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment