Debian Codegraph @

demos/node-editor/completion

raw
1 _gtk4_node_editor()
2 {
3 local cur prev opts
4 COMPREPLY=()
5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
7 opts="--gapplication-service \
8 --help \
9 --help-all \
10 --help-gapplication \
11 --reset \
12 --version"
13
14 if [[ ${cur} == -* ]] ; then
15 COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
16 return 0
17 fi
18 }
19 complete -F _gtk4_node_editor gtk4-node-editor