Skip to content

Instantly share code, notes, and snippets.

@planetsizebrain
Last active November 29, 2016 16:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save planetsizebrain/ddd8ed10622db9442f52 to your computer and use it in GitHub Desktop.
Save planetsizebrain/ddd8ed10622db9442f52 to your computer and use it in GitHub Desktop.
Liferay patching tool Bash autocomplete script
_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