confirmSetupAndContinue static method
Implementation
static Future<void> confirmSetupAndContinue(
final CommandLogger logger,
final ProjectLaunch projectSetup,
) async {
logger.box('Project setup\n\n$projectSetup');
final confirm = await logger.confirm(
'Continue and apply this setup?',
defaultValue: true,
);
if (!confirm) {
logger.info('Setup cancelled.');
throw UserAbortException();
}
}