options.js 386 B

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