| Server IP : 173.236.223.38 / Your IP : 216.73.216.245 Web Server : Apache System : Linux vps62975 6.8.0-83-generic #83~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep 9 18:19:47 UTC 2 x86_64 User : invmicvps ( 6727287) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/bash-completion/completions/ |
Upload File : |
# json_xs completion -*- shell-script -*-
_json_xs()
{
local cur prev words cword
_init_completion || return
case $prev in
-*f)
COMPREPLY=($(compgen -W 'json cbor storable storable-file bencode
clzf eval yaml string none' -- "$cur"))
return
;;
-*t)
COMPREPLY=($(compgen -W 'json json-utf-8 json-pretty
json-utf-16le json-utf-16be json-utf-32le json-utf-32be
cbor storable storable-file bencode clzf yaml dump dumper
string none' -- "$cur"))
return
;;
-*e)
return
;;
esac
[[ $cur == -* ]] &&
COMPREPLY=($(compgen -W '$(_parse_usage "$1") -f' -- "$cur"))
} &&
complete -F _json_xs json_xs
# ex: filetype=sh