code: function completionHandler(currentInput, currentArgv) {
      commandExecuted = true
      const {scripts} = getPSConfig(currentArgv) || {}
      if (scripts) {
        return getCompletionScripts(scripts, currentInput)
      }
      return []
    }
docs: /* istanbul ignore next