Sha256: ed0d47e5d6b71bef4b13c3f2a6b8db0591aa66560352dd1362590cce62c7533a

Contents?: true

Size: 253 Bytes

Versions: 11

Compression:

Stored size: 253 Bytes

Contents

_sonic() {
  COMPREPLY=()
  local word="${COMP_WORDS[COMP_CWORD]}"
  local words=("${COMP_WORDS[@]}")
  unset words[0]
  local completion=$(sonic completion ${words[@]})
  COMPREPLY=( $(compgen -W "$completion" -- "$word") )
}

complete -F _sonic sonic

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sonic-screwdriver-2.2.7 lib/sonic/completer/script.sh
sonic-screwdriver-2.2.6 lib/sonic/completer/script.sh
sonic-screwdriver-2.2.5 lib/sonic/completer/script.sh
sonic-screwdriver-2.2.4 lib/sonic/completer/script.sh
sonic-screwdriver-2.2.3 lib/sonic/completer/script.sh
sonic-screwdriver-2.2.2 lib/sonic/completer/script.sh
sonic-screwdriver-2.2.1 lib/sonic/completer/script.sh
sonic-screwdriver-2.2.0 lib/sonic/completer/script.sh
sonic-screwdriver-2.1.1 lib/sonic/completer/script.sh
sonic-screwdriver-2.1.0 lib/sonic/completer/script.sh
sonic-screwdriver-2.0.0 lib/sonic/completer/script.sh