var Tags = require('./tags')

module.exports = function (options) {
  var docker = require('../src/docker.js')(options)
  var tagImpl = Tags(docker)
  return {
    build: docker.build,
    info: docker.info,
    login: docker.login,
    push: docker.push,
    pushTags: tagImpl.pushTags,
    removeImage: docker.removeImage,
    tag: docker.tag,
    tagImage: tagImpl.tagImage,
    version: docker.version
  }
}

@@ -226,16 +226,39 @@
 .login,%0A
+    pull: docker.pull,%0A
     push

add missing method to index so pull is accessible via library API