PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/lerna/commands/repair
Просмотр файла: command.js
// @ts-check
"use strict";
/**
* @see https://github.com/yargs/yargs/blob/master/docs/advanced.md#providing-a-command-module
*/
exports.command = "repair";
exports.describe = "Runs automated migrations to repair the state of a lerna repo";
exports.builder = (yargs) => {
yargs.options({
/**
* equivalent to --loglevel=verbose, but added explicitly here because the repair()
* output will potentially contain instructions to run with --verbose
*/
verbose: {
hidden: true,
type: "boolean",
},
});
return yargs;
};
exports.handler = function handler(argv) {
// eslint-disable-next-line global-require
return require(".")(argv);
};
Выполнить команду
Для локальной разработки. Не используйте в интернете!