The single choke point every prompt in the CLI goes through.
Resolution order: an explicit flag wins; otherwise prompt if this run is allowed to;
otherwise throw NonInteractiveError naming the flag. A command that routes all
its prompts through this can never hang an agent, and still behaves exactly as before
for a human at a terminal.
The single choke point every prompt in the CLI goes through.
Resolution order: an explicit flag wins; otherwise prompt if this run is allowed to; otherwise throw NonInteractiveError naming the flag. A command that routes all its prompts through this can never hang an agent, and still behaves exactly as before for a human at a terminal.