404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.226.17.3: ~ $
// The implementation of commands that are just "run a script"
// restart, start, stop, test

const BaseCommand = require('./base-command.js')
class LifecycleCmd extends BaseCommand {
  static usage = ['[-- <args>]']
  static isShellout = true

  async exec (args, cb) {
    return this.npm.exec('run-script', [this.constructor.name, ...args])
  }

  async execWorkspaces (args, filters, cb) {
    return this.npm.exec('run-script', [this.constructor.name, ...args])
  }
}
module.exports = LifecycleCmd

Filemanager

Name Type Size Permission Actions
auth Folder 0755
commands Folder 0755
utils Folder 0755
workspaces Folder 0755
arborist-cmd.js File 627 B 0644
base-command.js File 2.81 KB 0644
cli.js File 3.36 KB 0644
lifecycle-cmd.js File 503 B 0644
npm.js File 13.25 KB 0644
package-url-cmd.js File 1.88 KB 0644