pub fn run_tui(app: App) -> Result<Vec<ScriptRun>>
Run the TUI application.
Returns the scripts to run after TUI exits, along with their arguments.