fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
0df6fa791
master
1# jq is a lightweight and flexible command-line JSON processor. 2# See: https://stedolan.github.io/jq 3 4complete -c jq -l version -d'Output jq version' 5complete -c jq -l seq -d'Use application/json-seq MIME type' 6complete -c jq -l stream -d'Parse input in streaming fashion' 7complete -c jq -l slurp -s s -d'Read input to array and filter once' 8complete -c jq -l raw-input -s R -d'Parse input as string (not JSON)' 9complete -c jq -l null-input -s n -d'Ignore input and treat it as null' 10complete -c jq -l compact-output -s c -d'Don\'t pretty-print JSON' 11complete -c jq -l tab -d'Indent w/ tabs instead of spaces' 12complete -c jq -l indent -x -d'Num of spaces per indent' 13complete -c jq -l color-output -s C -d'Color output' 14complete -c jq -l monochrome-output -s M -d'Don\'t color output' 15complete -c jq -l ascii-output -s a -d'Replace UTF-8 chars w/ escape sequences' 16complete -c jq -l unbuffered -d'Flush output after each JSON object' 17complete -c jq -l sort-keys -s S -d'Sort object keys in output' 18complete -c jq -l raw-output -s r -d'Write string output w/out quotes' 19complete -c jq -l join-output -s j -d'Raw output without newlines' 20complete -c jq -l from-file -s f -r -d'Read filter from file' 21complete -c jq -s L -d'Prepend dir to module search list' 22complete -c jq -l exit-status -s e -d'Set exit status from output' 23complete -c jq -l arg -x -d'Set variable' 24complete -c jq -l argjson -x -d'Set JSON-encoded variable' 25complete -c jq -l slurpfile -x -d'Read JSON in file and bind to given variable' 26complete -c jq -l argfile -x -d'Read JSON in file and bind to given variable [see man]' 27complete -c jq -l args -d'Remaining args are positional string args' 28complete -c jq -l jsonargs -d'Remaining args are positional JSON text args' 29complete -c jq -l run-tests -d'Run tests in given file'