@wraps.dev/cli 2.20.2 → 2.20.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -22592,14 +22592,6 @@ async function init2(options) {
22592
22592
  if (options.quick) {
22593
22593
  progress.info(`Using region: ${pc28.cyan(region)}`);
22594
22594
  }
22595
- let domain = options.domain;
22596
- if (!domain) {
22597
- domain = await promptDomain();
22598
- }
22599
- let vercelConfig;
22600
- if (provider === "vercel") {
22601
- vercelConfig = await promptVercelConfig();
22602
- }
22603
22595
  const existingConnection = await loadConnectionMetadata(
22604
22596
  identity.accountId,
22605
22597
  region
@@ -22609,10 +22601,22 @@ async function init2(options) {
22609
22601
  `Connection already exists for account ${pc28.cyan(identity.accountId)} in region ${pc28.cyan(region)}`
22610
22602
  );
22611
22603
  clack26.log.info(`Created: ${existingConnection.timestamp}`);
22604
+ const domainHint = options.domain ? ` ${options.domain}` : " <domain>";
22605
+ clack26.log.info(
22606
+ `To add another sending domain: ${pc28.cyan(`wraps email domains add${domainHint}`)}`
22607
+ );
22612
22608
  clack26.log.info(`Use ${pc28.cyan("wraps status")} to view current setup`);
22613
22609
  clack26.log.info(`Use ${pc28.cyan("wraps upgrade")} to add more features`);
22614
22610
  process.exit(0);
22615
22611
  }
22612
+ let domain = options.domain;
22613
+ if (!domain) {
22614
+ domain = await promptDomain();
22615
+ }
22616
+ let vercelConfig;
22617
+ if (provider === "vercel") {
22618
+ vercelConfig = await promptVercelConfig();
22619
+ }
22616
22620
  let preset = options.preset;
22617
22621
  if (!preset) {
22618
22622
  preset = options.quick ? "starter" : await promptConfigPreset();