- Pesets of commands in JS
- Remote ssh commands pipelines
- BASH, git, pm2, docker, etc commands in JS
Usage/exaples:
import commands from '../commands/index.js'
import Terminator from '../index.js'
const { connectSsh, log } = commands
(new Terminator(connectSsh, log, { endProcessWrite: false })).exec()
or
const { connectSsh, deploy } = commands
(new Terminator(connectSsh, deploy)).exec()