StopCommand

StopCommand

new StopCommand()

Source:
Properties:
Name Type Description
MK_INTRO string The translation key of 'initializing' phase message
MK_STOP_SUCCESS string The translation key of 'server stopped' phase message
The main class that handles the 'stop' command execution.

Methods

execute()

Source:
See:
The main method to exec 'pm2 stop {serverName}' command with inherited stdio, also output some text as decoration.