smart-energy-monitor/software/flow/node_modules/npm/lib/commands/restart.js

14 lines
310 B
JavaScript

const LifecycleCmd = require('../lifecycle-cmd.js')
// This ends up calling run-script(['restart', ...args])
class Restart extends LifecycleCmd {
static description = 'Restart a package'
static name = 'restart'
static params = [
'ignore-scripts',
'script-shell',
]
}
module.exports = Restart