radiasoft / pykern

Apache License 2.0
5 stars 7 forks source link

pkjson.dump_pretty as pkcli #437

Closed e-carlin closed 5 months ago

e-carlin commented 9 months ago

It would be convenient to run something like pykern fmt json <filename> and have filename formatted using pkjson.dump_pretty.

This brings up the question of whether we should add json formatting to our ci checks?

e-carlin commented 9 months ago

Or maybe just pykern fmt run <filename> and have it figure out that it is json.

robnagler commented 5 months ago

rely on jq