options.js 322 B

12345678910111213
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var minimist = require("minimist");
  4. var argv = minimist(process.argv.slice(2), {
  5. string: ["project"],
  6. alias: {
  7. project: ["P"]
  8. }
  9. });
  10. var project = argv && argv.project;
  11. exports.options = {
  12. cwd: project || process.cwd()
  13. };