onInterrupt() {
    if (this._currentTask) {
      return this._currentTask.onInterrupt();
    } else {
      // interrupt all external commands which don't use `runTask()` with an error

      // eslint-disable-next-line n/no-process-exit
      process.exit(1);
    }
  }
Called when command is interrupted from outside, e.g. ctrl+C or process kill
Can be used to cleanup artifacts produced by command and control process exit code

@method onInterrupt
@return {Promise|undefined} if rejected promise then result of promise will be used as an exit code