UNPKG

450 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const PackageManager_1 = require("../inc/PackageManager");
4const NAME = 'pkg-mgr';
5function getDef() {
6 return {
7 alias: 'pkg',
8 choices: PackageManager_1.PACKAGE_MANAGERS,
9 describe: 'Package manager in use'
10 };
11}
12function addPkgMgrToOptions(opts) {
13 opts[NAME] = getDef();
14 return opts;
15}
16exports.addPkgMgrToOptions = addPkgMgrToOptions;