INNER CODE UNIT · TypeScript

push

rit3zh/reacticx · cloudflare/cli/index.ts:236

async function push(flags: Flags) {
  const startedAt = performance.now();
  const chosen = await selectSteps(flags);

  if (chosen.length === 0) {
    log.warn("no steps selected");
    return 0;
  }

  console.log(
    `\n${c.bold(c.magenta("◆"))} ${c.bold("reacticx cloud")} ${c.dim(
      `· ${chosen.length} step(s)${flags.dry ? " · dry run" : ""}${flags.check ? " · check" : ""}`,
    )}`,
  );
  for (const [index, step] of chosen.entries()) {
    console.log(
      `${c.dim("│")} ${c.dim(`${index + 1}.`)} ${c.cyan(step.id.padEnd(10))} ${c.dim(step.label)}`,
    );

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…