INNER CODE UNIT · JavaScript

next

linxidnju/OpenTag · src/cli.js:130

    const next = argv[i + 1];
    if (next && !next.startsWith("-")) {
      out[key] = next;
      i += 1;
    } else {
      out[key] = true;
    }
  }
  return out;
}

function printHelp() {
  console.log([
    "OpenTag MVP",
    "",
    "Usage:",
    "  opentag start --config ./examples/opentag.config.example.json [--gateway slack|console]",
    "  opentag doctor --config ./examples/opentag.config.example.json",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…