add auto-confirm support to CLI