Skip to content

Instantly share code, notes, and snippets.

_gvm_complete()
{
local CANDIDATES
local CANDIDATE_VERSIONS
COMPREPLY=()
if [ $COMP_CWORD -eq 1 ]; then
COMPREPLY=( $(compgen -W "install uninstall rm list ls use current version default selfupdate broadcast offline help flush" -- ${COMP_WORDS[COMP_CWORD]}) )
elif [ $COMP_CWORD -eq 2 ]; then
@ancho
ancho / Configuration.java
Last active January 31, 2017 22:20 — forked from jonbullock/Renderer.java
RendererTest for path with dot in it and output file without extension
interface Configuration {
File getSourcePath();
void setSourcePath(File path);
File getTemplatePath();
void setTemplatePath(File path);
File getDestinationPath();
void setDestinationPath(File path);