1
1
mirror of https://github.com/wader/fq.git synced 2024-11-27 06:04:47 +03:00
fq/pkg/interp
Mattias Wadman a7a101ca67 doc,help: Nicer format help and move help tests into each format
Also add authors to avro and macho decoders

Generated with:
for i in $(go run . -r -n '_registry | [([([.files[][].name | split(".")[0]] | unique[]), (.formats[].name)] | count[] | select(.[1] == 2)[0]), (.formats[] | select(.decode_in_arg).name)] | unique[]'); do DIR=$(dirname $(find format -name $i.go)); echo "$ fq -h $i" > "$DIR/testdata/help_$i.fqtest" ; done
2022-09-22 23:07:58 +02:00
..
testdata doc,help: Nicer format help and move help tests into each format 2022-09-22 23:07:58 +02:00
.jq-lsp.jq interp,format: Refactor registry usage and use function helpers 2022-07-16 19:24:13 +02:00
ansi.jq interp,repl: Add path and value colors to prompt 2022-03-03 18:25:19 +01:00
args_test.jq repl: completion in jq 2021-09-12 13:08:56 +02:00
args.jq interp: Rework formats and options help 2022-03-03 18:25:20 +01:00
assert.jq dev: Add .jq-lsp.jq to add additional builtins for jq-lsp 2022-02-16 19:52:42 +01:00
binary.go *extra: Rename <pkg>extra to just <pkg>ex and refactor to use generics 2022-08-12 16:29:47 +02:00
binary.jq interp,format: Refactor registry usage and use function helpers 2022-07-16 19:24:13 +02:00
bitops.go *extra: Rename <pkg>extra to just <pkg>ex and refactor to use generics 2022-08-12 16:29:47 +02:00
decode.go interp,decode: For struct use map to lookup field 2022-09-01 11:35:19 +02:00
decode.jq interp: Extract to/from map/struct to own package 2022-06-20 21:24:59 +02:00
decorator.go fq: Use go 1.18 2022-05-20 15:23:16 +02:00
default_register.go *extra: Rename <pkg>extra to just <pkg>ex and refactor to use generics 2022-08-12 16:29:47 +02:00
dump.go columnwriter,dump: Add Column interface and refactor into BarColumn and MultiLineColumn 2022-08-24 21:48:56 +02:00
eval.jq interp,format: Refactor registry usage and use function helpers 2022-07-16 19:24:13 +02:00
format_decode.jq format,intepr: Refactor json, yaml, etc into formats also move out related functions 2022-07-23 21:48:45 +02:00
format_func.jq decode,interp: Support for format specific options 2022-05-01 17:08:30 +02:00
fqtest_test.go interp: Cleanup and clarify some format naming 2022-07-16 22:04:21 +02:00
funcs_test.jq interp: Add group/0 2022-06-21 15:18:12 +02:00
funcs.jq help,doc: Use markdown for format documentation again 2022-09-11 00:53:29 +02:00
grep.jq interp: Add internal _is_<type> helpers 2022-05-20 16:49:00 +02:00
help.jq doc,help: Nicer format help and move help tests into each format 2022-09-22 23:07:58 +02:00
init.jq interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
internal.jq interp,format: Refactor registry usage and use function helpers 2022-07-16 19:24:13 +02:00
interp.go *extra: Rename <pkg>extra to just <pkg>ex and refactor to use generics 2022-08-12 16:29:47 +02:00
interp.jq format,intepr: Refactor json, yaml, etc into formats also move out related functions 2022-07-23 21:48:45 +02:00
match.go *extra: Rename <pkg>extra to just <pkg>ex and refactor to use generics 2022-08-12 16:29:47 +02:00
options.jq csv: Add tsv and header example 2022-09-15 01:16:45 +02:00
preview.go *extra: Rename <pkg>extra to just <pkg>ex and refactor to use generics 2022-08-12 16:29:47 +02:00
query_test.jq repl,interp: Refactor repl and slurp 2022-03-01 18:31:00 +01:00
query.go interp,format: Refactor registry usage and use function helpers 2022-07-16 19:24:13 +02:00
query.jq decode,interp: Support for format specific options 2022-05-01 17:08:30 +02:00
registry_include.jq interp: Use RegisterFS instead of format files 2022-07-27 13:22:59 +02:00
registry.go generics: Use more from x/exp 2022-08-31 10:50:56 +02:00
repl.jq gojq: Update fq fork, new scope function, rawstring, stricter integers 2022-08-14 22:40:44 +02:00
testjq.sh make: Move testjq.sh into pkg/interp 2021-11-12 00:23:16 +01:00