2021-11-04 20:42:47 +00:00
|
|
|
const LifecycleCmd = require('../lifecycle-cmd.js')
|
2021-03-04 17:40:28 -05:00
|
|
|
|
|
|
|
// This ends up calling run-script(['start', ...args])
|
|
|
|
class Start extends LifecycleCmd {
|
2021-03-23 14:58:11 -04:00
|
|
|
/* istanbul ignore next - see test/lib/load-all-commands.js */
|
|
|
|
static get description () {
|
|
|
|
return 'Start a package'
|
|
|
|
}
|
|
|
|
|
2021-03-11 17:54:23 -05:00
|
|
|
/* istanbul ignore next - see test/lib/load-all-commands.js */
|
|
|
|
static get name () {
|
|
|
|
return 'start'
|
2021-03-04 17:40:28 -05:00
|
|
|
}
|
2021-05-20 15:54:50 -04:00
|
|
|
|
|
|
|
/* istanbul ignore next - see test/lib/load-all-commands.js */
|
|
|
|
static get params () {
|
|
|
|
return [
|
|
|
|
'ignore-scripts',
|
|
|
|
'script-shell',
|
|
|
|
]
|
|
|
|
}
|
2021-03-04 17:40:28 -05:00
|
|
|
}
|
|
|
|
module.exports = Start
|