INNER CODE UNIT · JavaScript

profileName

sebastiancarlos/beachpatrol · beachmsg.js:217

    profileName = process.argv[++i];
  } else if (process.argv[i] === "--incognito") {
    incognito = true;
  } else {
    // Everything from here on is the command and its args.
    break;
  }
  i++;
}

// extract command and args
const [commandName, ...args] = process.argv.slice(i);

// if there are no arguments, bail out
if (!commandName) {
  console.error("Error: No command specified.");
  process.exit(1);
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…