Sample CLI
gway screen instruct
Full Code
def instruct(steps, *, title="GWAY Next Steps", timeout: int=300, **kwargs):
"""Display a series of steps using a notify box."""
split_steps = '\n'.join(steps).split('\n')
num_steps = [f"{n+1}. {step}" for n, step in enumerate(steps) if steps.strip()]
instructions = '\n'.join(num_steps)
return notify(message=instructions, title=title, timeout=timeout, **kwargs)