upsies.uis.tui.tui

Interactive text user interface and job manager

Classes

class upsies.uis.tui.tui.TUI[source]

Bases: object

async run(jobs)[source]

Block while jobs are running and the user interface is up

Parameters:

jobs – Iterable of JobBase instances

Raise:

any Exception from any job or the user interface

Returns:

exit_code from the first failed job or 0 if all jobs succeeded