Sha256: 26e5cc1ef84b4601f282dd4df32cd761054fce8b17c0f5a09ef939f56f23cc98

Contents?: true

Size: 265 Bytes

Versions: 2

Compression:

Stored size: 265 Bytes

Contents

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

complete -F _balancer balancer

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
balancer-0.2.0 lib/balancer/completer/script.sh
balancer-0.1.0 lib/balancer/completer/script.sh