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 |
|
Mattias Wadman
|
9a5fcc89f1
|
xml: Allow trailing <?procinstr?>
Also more context in error messages and refactor trim function
|
2022-08-11 23:48:29 +02:00 |
|
Mattias Wadman
|
fc0aacb654
|
interp: Cleanup display aliases, now: d, da, dd, dv, ddv
Think it makes sense to have them all start with d.
Also f is often used as function argument name.
|
2022-01-28 18:25:38 +01:00 |
|
Mattias Wadman
|
149cb3f45a
|
interp: Add torepr/0 that converts decode value into what it reptresents
Ex: fq -d msgpack torepr file.msgpack
Willoutput the JSON representation of the msgpack
Make per format *_torepr functions internal
|
2022-01-12 17:33:58 +01:00 |
|
Mattias Wadman
|
af8e7efc61
|
bencode: Add decoder
Closes #63
|
2022-01-10 10:52:14 +01:00 |
|