Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.