Files
RedBear-OS/recipes/shells/zsh/source/Completion/Unix/Command/_jq
T
vasilito ff4ff35918 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

38 lines
2.2 KiB
Plaintext

#compdef jq
# last updated for jq-1.5-1-a5b5cbe (debian package 1.5+dfsg-1.3)
# Note:
# Arguments to options must be in separate words. Thus,
# {-f,--from-file}'[foo]'
# is correct like that, without the usual {-f+,--from-file=} suffixes.
#
_arguments -S -s : \
"--version[output jq's version number]" \
"--seq[use application/json-seq ASCII RS/LF scheme in input and output]" \
"--stream[parse input streamily (changes output)]" \
'(-s --slurp)'{-s,--slurp}'[join input JSON objects to array before filtering]' \
'(-R --raw-input)'{-R,--raw-input}'[consider each input line as a JSON strings]' \
'(-n --null-input)'{-n,--null-input}'[input is ignored]' \
'(-c --compact-output)'{-c,--compact-output}"[don't pretty-print]" \
'(--indent)--tab[indent output using TAB characters]' \
'(--tab)--indent[indent output using given number of spaces]:number of spaces (integer):(2 4 8)' \
'(-C --color-output -M --monochrome-output)'{-C,--color-output}'[output in color]' \
'(-C --color-output -M --monochrome-output)'{-M,--monochrome-output}'[output without color]' \
'(-a --ascii-output)'{-a,--ascii-output}'[restrict output to ASCII]' \
'--unbuffered[flush output after each JSON object]' \
'(-S --sort-keys)'{-S,--sort-keys}'[output object keys in sorted order]' \
'(-r --raw-output -j --join-output)'{-r,--raw-output}"[don't JSON-quote output if it's a string]" \
'(-r --raw-output -j --join-output)'{-j,--join-output}"[like -r, without newlines between outputs]" \
'(-f --from-file)'{-f,--from-file}'[read filter from file]:_files' \
'-L+[prepend a directory to the module search path]:_directories' \
'(-e --exit-status)'{-e,--exit-status}'[report "false" and "null" results via exit code]' \
'*--arg[pre-set a variable to a string]:variable name: :value (string)' \
'*--argjson[pre-set a variable to an object]:variable name: :value (JSON)' \
'*--slurpfile[pre-set a variable to an array of JSON texts read from a file]:variable name: :file:_files' \
'*--rawfile[pre-set a variable to the contents of a file]:variable name: :file:_files' \
'--args[remaining arguments are string arguments, not files]' \
'--jsonargs[remaining arguments are JSON arguments, not files]' \
"1: :_guard '|[^-]' filter" \
"*: :_files"