orangeqs.juice.cli.steptimer#

Live step timer for the Juice install CLI.

Module Contents#

Classes#

StepTimer

Echoes install milestones and live-updates the elapsed time above the cursor.

API#

class orangeqs.juice.cli.steptimer.StepTimer#

Echoes install milestones and live-updates the elapsed time above the cursor.

echo(message: str) None#

Print a milestone and start timing the step that follows it.

pause() collections.abc.Generator[None]#

Suspend ticking so a subprocess can own stdout.

finalize() None#

Stop the ticker thread; safe to call more than once (atexit).