Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement] traverse directory to produce json #14

Open
renxida opened this issue Jul 16, 2018 · 0 comments
Open

[enhancement] traverse directory to produce json #14

renxida opened this issue Jul 16, 2018 · 0 comments

Comments

@renxida
Copy link

renxida commented Jul 16, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant