con / duct

A helper to run a command, capture stdout/stderr and details about running
https://pypi.org/project/con-duct/
MIT License
1 stars 2 forks source link

duct-suite pretty-print|pp #117

Open yarikoptic opened 1 month ago

yarikoptic commented 1 month ago

We should establish helper command which would help rendering our records. Similarly to git show I might need help to see a specific record, but nicely indented and possibly colored and with sizes and times being "humanized" (ref #116) ,e.g. invocation like

duct-suite pp duct/logs/2024.08.07T14.06.25-106169_info.json
asmacdo commented 1 month ago

info.json should be a straightforward pretty print usage.json should be a little more involved, reorganizing from NLJSON to a nice table or something

yarikoptic commented 1 month ago

for pretty-print no need to do table etc. Table for usage or others, would be more of a log functionality I guess -- make table from the records etc. Someone fancy could even use pyout here and monitor "growing" usage.json.