Sha256: 7e4f584e4d5ec63366e21eda8486c2a2e5fb5dcd4f8860ac3364cad7b0d65a06

Contents?: true

Size: 281 Bytes

Versions: 2

Compression:

Stored size: 281 Bytes

Contents

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

complete -F _s3-antivirus s3-antivirus

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
s3-antivirus-0.2.0 lib/s3_antivirus/completer/script.sh
s3-antivirus-0.1.0 lib/s3_antivirus/completer/script.sh