jj icon indicating copy to clipboard operation
jj copied to clipboard

[enhancement] traverse directory to produce json

Open renxida opened this issue 7 years ago • 0 comments

Suppose i have

./thing_one/params.json
./thing_one/results.json
./thing_two/params.json
./thing_two/results.json

Could we make something like jj -p -r . hat traverses ./ to fetch all the json, and display them as a big json with proper formatting and indentation? So it would produce something like: { "thing_one": { "params: { }, "results": { } }, "thing_two": { ........ } }

BTW, awesome utility. Absolutely love it. It's been making my life so much easier.

renxida avatar Jul 16 '18 06:07 renxida