con / duct

A helper to run a command, capture stdout/stderr and details about running
MIT License
1 stars 1 forks source link

Fancy sugaring: online report of consumption #24

Open yarikoptic opened 1 month ago

yarikoptic commented 1 month ago

Eventually might be worth adding an option to enable display of the summary on the screen, similarly to how apt commands do it (IIRC) -- at the bottom of the terminal there is then a line which informs about progress of apt command - % done etc

asmacdo commented 3 weeks ago

@yarikoptic how does "online" come into this?

yarikoptic commented 3 weeks ago

"online" as displaying/changing while process is running. Internally we have a summary and we can display it after each new line printed to stdout, and then just destroy before replacing that place with a new line received or updating after each "aggregation" period.