Sha256: f73ef2223fc93e1d9db1ed5809e3b81d8993aa13c5b064f3c8be683c5d5ca32d

Contents?: true

Size: 488 Bytes

Versions: 55

Compression:

Stored size: 488 Bytes

Contents

_opsk() {
     local cur prev opts
     COMPREPLY=()
     cur="${COMP_WORDS[COMP_CWORD]}"
     prev="${COMP_WORDS[COMP_CWORD-1]}"
     opts="generate help package specgen version"
 
     if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
         COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
         return 0
     fi

     case "${prev}" in
          help)
                COMPREPLY=( $(compgen -W "${opts/help/}" -- ${cur}) )
          ;;
     esac    
    }
complete -F _opsk opsk

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
opskeleton-0.10.1 autocomplete/opsk_bash_completion
opskeleton-0.9.9 autocomplete/opsk_bash_completion
opskeleton-0.9.8 autocomplete/opsk_bash_completion
opskeleton-0.9.7 autocomplete/opsk_bash_completion
opskeleton-0.9.6 autocomplete/opsk_bash_completion
opskeleton-0.9.5 autocomplete/opsk_bash_completion
opskeleton-0.9.4 autocomplete/opsk_bash_completion
opskeleton-0.9.3 autocomplete/opsk_bash_completion
opskeleton-0.9.2 autocomplete/opsk_bash_completion
opskeleton-0.9.1 autocomplete/opsk_bash_completion
opskeleton-0.9.0 autocomplete/opsk_bash_completion
opskeleton-0.8.12 autocomplete/opsk_bash_completion
opskeleton-0.8.11 autocomplete/opsk_bash_completion
opskeleton-0.8.10 autocomplete/opsk_bash_completion
opskeleton-0.8.9 autocomplete/opsk_bash_completion
opskeleton-0.8.8 autocomplete/opsk_bash_completion
opskeleton-0.8.7 autocomplete/opsk_bash_completion
opskeleton-0.8.6 autocomplete/opsk_bash_completion
opskeleton-0.8.5 autocomplete/opsk_bash_completion
opskeleton-0.8.4 autocomplete/opsk_bash_completion