code: function initialize (name, provider, config) {
    var strategy
    var protocol = provider.protocol
  
    // try to load an officially supported provider
    try {
      strategy = require(path.join(__dirname, protocol))
    } catch (e) {}
  
    // try to load a custom provider from the deployment repository
    try {
      strategy = require(path.join(cwd, 'protocols', protocol))
    } catch (e) {
      if (!strategy) {
        throw new Error("Can't find custom protocol: " + protocol)
      }
    }
  
    provider.id = name
    return strategy.initialize(provider, config)
  }
docs: Initialize