in wadebug/cli.py [0:0]
def execute_actions_interactive(actions):
config = load_config_interactive()
# execution logic is duplicated so that we print results as they appear
# this way, if something gets stuck, users can ctrl+c or take other actions
ui.print_program_header()
if Config().development_mode:
ui.print_dev_mode_header()
else:
click.echo()
result = {}
problems = []
for act in actions:
res = act.run(config)
result[res.action.user_facing_name] = res.to_dict()
ui.print_result_header(res)
if isinstance(res, results._NotOK):
ui.print_result_details(res)
problems.append(res)
click.echo()
if problems:
click.echo("! WADebug found {} issues.".format(len(problems)))
return result