PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/@lerna/link
Просмотр файла: command.js
"use strict";
/**
* @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
*/
exports.command = "link";
exports.describe = "Symlink together all packages that are dependencies of each other";
exports.builder = (yargs) => {
yargs.options({
"force-local": {
group: "Command Options:",
describe: "Force local sibling links regardless of version range match",
type: "boolean",
},
contents: {
group: "Command Options:",
describe: "Subdirectory to use as the source of the symlink. Must apply to ALL packages.",
type: "string",
defaultDescription: ".",
},
});
return yargs.command(
"convert",
"Replace local sibling version ranges with relative file: specifiers",
() => {},
handler
);
};
exports.handler = handler;
function handler(argv) {
return require(".")(argv);
}
Выполнить команду
Для локальной разработки. Не используйте в интернете!