@lerna/publish
Version:
Publish packages in the current project
22 lines (21 loc) • 525 B
JavaScript
const command = {
command: "repair",
describe: "Runs automated migrations to repair the state of a lerna repo",
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;
},
handler(argv) {
return require(".")(argv);
}
};
module.exports = command;