/usr/share/bash-completion/completions/tx is in transifex-client 0.11.1+git15~g655c5e9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | # Debian tx(8) completion                             -*- shell-script -*-
_tx()
{
    local cur prev words cword
    _init_completion || return
    local special i
    for (( i=0; i < ${#words[@]}-1; i++ )); do
        if [[ ${words[i]} == @(delete|help|init|pull|push|set|status) ]]; then
            special=${words[i]}
        fi
    done
    if [[ -n $special ]]; then
        case $special in
            delete)
                if [[ "$cur" == -* ]]; then
                    COMPREPLY=( $( compgen -W '-f -h -l -r
                        --force --help --language --resource --skip
                        ' -- "$cur" ) )
                fi
                case $prev in
                    -r|--resource)
                        resources=$(sed -n 's,^\[\(.*\)\]$,\1,p' .tx/config | grep -v main)
                        COMPREPLY=( $( compgen -W "$resources" -- "$cur" ) )
                        ;;
                esac
                return 0
                ;;
            help)
                if [[ "$cur" == -* ]]; then
                    COMPREPLY=( $( compgen -W '-h --help' -- "$cur" ) )
                fi
                return 0
                ;;
            init)
                if [[ "$cur" == -* ]]; then
                    COMPREPLY=( $( compgen -W '-h
                        --help --host --pass --user
                        ' -- "$cur" ) )
                fi
                return 0
                ;;
            pull)
                if [[ "$cur" == -* ]]; then
                    COMPREPLY=( $( compgen -W '-a -f -h -l -r -s
                        --all --disable-overwrite --force --help --language
                        --minimum-perc --mode --pseudo --resource --skip
                        --source
                        ' -- "$cur" ) )
                fi
                case $prev in
                    -r|--resource)
                        resources=$(sed -n 's,^\[\(.*\)\]$,\1,p' .tx/config | grep -v main)
                        COMPREPLY=( $( compgen -W "$resources" -- "$cur" ) )
                        ;;
                esac
                return 0
                ;;
            push)
                if [[ "$cur" == -* ]]; then
                    COMPREPLY=( $( compgen -W '-f -h -l -r -s -t
                        --force --help --language --no-interactive --resource
                        --skip --source --translations
                        ' -- "$cur" ) )
                fi
                case $prev in
                    -r|--resource)
                        resources=$(sed -n 's,^\[\(.*\)\]$,\1,p' .tx/config | grep -v main)
                        COMPREPLY=( $( compgen -W "$resources" -- "$cur" ) )
                        ;;
                esac
                return 0
                ;;
            set)
                if [[ "$cur" == -* ]]; then
                    COMPREPLY=( $( compgen -W '-f -h -l -r -s -t
                        --auto-local --auto-remote --execute --force --help
                        --language --minimum-perc --mode --resource --skip
                        --source --type
                        ' -- "$cur" ) )
                fi
                case $prev in
                    -r|--resource)
                        resources=$(sed -n 's,^\[\(.*\)\]$,\1,p' .tx/config | grep -v main)
                        COMPREPLY=( $( compgen -W "$resources" -- "$cur" ) )
                        ;;
                esac
                return 0
                ;;
            status)
                if [[ "$cur" == -* ]]; then
                    COMPREPLY=( $( compgen -W '-h -r
                        --help --resource
                        ' -- "$cur" ) )
                fi
                case $prev in
                    -r|--resource)
                        resources=$(sed -n 's,^\[\(.*\)\]$,\1,p' .tx/config | grep -v main)
                        COMPREPLY=( $( compgen -W "$resources" -- "$cur" ) )
                        ;;
                esac
                return 0
                ;;
        esac
    fi
    case $prev in
        -r|--root)
             _filedir -d
             return 0
             ;;
    esac
    if [[ "$cur" == -* ]]; then
        COMPREPLY=( $( compgen -W '-d -h -q -r
            --debug --disable-colors --help --quiet --root --traceback --version
            ' -- "$cur" ) )
    else
        COMPREPLY=( $( compgen -W '
            delete help init pull push set status
            ' -- "$cur" ) )
    fi
    return 0
} &&
complete -F _tx tx
# ex: ts=4 sw=4 et filetype=sh
 |