trunk now has a 'confirm_action' method on the ui, which gives a path to allowing users to turn all interactions off, or to turn them off when particular options are set.
I'd like to add --confirmations=yes/no/ask, ask being the default, and these can usefully be global options.
istm we should split the ui factory mechanism of talking to the user from the policy about what kind of interactions with the user the program wants to have. Perhaps we can interpose a policy decorator around the factory.
trunk now has a 'confirm_action' method on the ui, which gives a path to allowing users to turn all interactions off, or to turn them off when particular options are set.
I'd like to add --confirmations =yes/no/ ask, ask being the default, and these can usefully be global options.
istm we should split the ui factory mechanism of talking to the user from the policy about what kind of interactions with the user the program wants to have. Perhaps we can interpose a policy decorator around the factory.