metawards.input

metawards.input(prompt: str, default='y')[source]

Wrapper for ‘input’ that returns ‘default’ if it detected that this is being run from within a batch job or other service that doesn’t have access to a tty