dokku-git-remote-parser
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) {
})
user module on a specified directory
dokkuGitRemoteParser('./path/to/dir', function (err, host, appName) {
})