1.1.2 • Published 9 years ago

dokku-git-remote-parser v1.1.2

Weekly downloads
6
License
MIT
Repository
github
Last release
9 years ago

dokku-git-remote-parser

NPM Build Status

Retrieves dokku host and app name from a directory by reading and parsing the git remotes

Installation

npm install dokku-git-remote-parser

Usage

Require module

var dokkuGitRemoteParser = require('dokku-git-remote-parser');

use module on current directory

dokkuGitRemoteParser(function (err, host, appName) {
  // err: Error object or null
  //   eg. err.message -> "No Dokku app detected"
  // host: string or undefined eg. "myhost.com"
  // appName: string or undefined eg. "my-app"
})

user module on a specified directory

dokkuGitRemoteParser('./path/to/dir', function (err, host, appName) {

})
1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago

0.0.1

9 years ago