1.0.1 • Published 9 years ago

dokku-app-ssh v1.0.1

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

dokku-app-ssh

NPM Build Status

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 = require('dokku-app-ssh');

Use module passing host, command and app name

var host = 'dokku.mydomain.com';
var command = 'logs -t';
var appName = 'test-app';

var sshParams = dokkuAppSsh(host, command, appName);

sshParams is now the string...

ssh -T dokku@dokku.mydomain.com -- logs test-app -t
1.0.1

9 years ago

1.0.0

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago