cli completion integration with plugins
The existing cli completion is a static file put into place when installing via RPM and works as long as all the possible arguments are known in advance.
https://github.com/ngageoint/geowave/blob/master/core/cli/src/main/resources/geowave-tools-cmd-completion.sh
An example of how this could be made aware of non-default plugin options or even more dynamic environmental options can be seen in the command completion module for git.
https://github.com/git/git/blob/v2.7.1/contrib/completion/git-completion.bash#L404
I'm not advocating we need to maintain a 2500+ line bash script just for command line completion but some of the concepts illustrated in the git script could be used to make the GeoWave script a bit more aware of existing options only discoverable at run time through the installation of a plugin in a particular install.