dokku-app-ssh
Creates a dokku ssh command string from host, command and appName strings. Handles edge cases for you.
Installation
npm install dokku-app-ssh
Usage
Require module
var dokkuAppSsh = ;
Use module passing host, command and app name
var host = 'dokku.mydomain.com';var command = 'logs -t';var appName = 'test-app'; var sshParams = ;
sshParams
is now the string...
ssh -T dokku@dokku.mydomain.com -- logs test-app -t