Shift non-interactive flag handling earlier in chain
Shift non-interactive flag handling earlier in chain

Generate the appropriate behavior (prompt vs. raise exception) in get_username and get_password via a helper method rather than passing the non-interactive flag down through all the helper functions. This allows the later helper functions to be reverted back to their original, simpler forms.

pypa/twine