completions.bash 249 B

123456
  1. _mitm_completions() {
  2. local COMPLETES="emulator mitm tcpdump app pull stop-mitm stop-emulator attach-mitmproxy ssh help"
  3. COMPREPLY=( $(compgen -W "$COMPLETES" -- ${COMP_WORDS[COMP_CWORD]}) )
  4. }
  5. complete -F _mitm_completions mitm-emulator.sh