Lines Matching refs:cur
65 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
101 COMPREPLY=( $( compgen -f -- "$cur") )
109 COMPREPLY=( $(compgen -W "$( __get_all_booleans ) " -- "$cur") )
112 COMPREPLY=( $(compgen -W '${OPTS[$verb]}' -- "$cur") )
116 COMPREPLY=( $(compgen -W "$( __get_all_domain_types ) " -- "$cur") )
119 COMPREPLY=( $(compgen -W "$( __get_all_classes ) " -- "$cur") )
122 COMPREPLY=( $(compgen -W '${OPTS[$verb]}' -- "$cur") )
128 COMPREPLY=( $( compgen -d -- "$cur") )
132 COMPREPLY=( $( compgen -d -- "$cur") )
136 COMPREPLY=( $(compgen -W "$( __get_all_domain_types ) " -- "$cur") )
139 COMPREPLY=( $(compgen -W "-n --name -t --type" -- "$cur") )
142 COMPREPLY=( $(compgen -W "$( __get_all_admin_interaces ) " -- "$cur") )
145 COMPREPLY=( $(compgen -W "$( __get_all_users )" -- "$cur") )
147 elif [[ "$cur" == "$verb" || "$cur" == "" || "$cur" == -* ]]; then
148 COMPREPLY=( $(compgen -W '${OPTS[$verb]}' -- "$cur") )
151 COMPREPLY=( $( compgen -f -- "$cur") )
155 COMPREPLY=( $(compgen -W '${OPTS[$verb]}' -- "$cur") )
159 COMPREPLY=( $(compgen -W "$( __get_all_domains ) " -- "$cur") )
162 COMPREPLY=( $( compgen -d -- "$cur") )
168 COMPREPLY=( $( compgen -d -- "$cur") )
172 COMPREPLY=( $(compgen -W '${OPTS[$verb]}' -- "$cur") )
176 COMPREPLY=( $(compgen -W "$( __get_all_port_types )" -- "$cur") )
180 COMPREPLY=( $(compgen -W "$( __get_all_domain_types )" -- "$cur") )
183 COMPREPLY=( $(compgen -W '${OPTS[$verb]}' -- "$cur") )
187 COMPREPLY=( $(compgen -W "$( __get_all_domain_types ) " -- "$cur") )
190 COMPREPLY=( $(compgen -W '${OPTS[$verb]}' -- "$cur") )
193 COMPREPLY=( $(compgen -W "$comps" -- "$cur") )