Vagrant for Node.js
This module is a programatic wrapper around the vagrant
CLI tool.
Note: vagrant
must be installed to use this, it's only a wrapper
Installation
npm i vagrant
Usage
All commands are run with child_process.spawn
and the stdio
is set to inherit
passing along process.env
.
var vagrant = ; //From a dir with a Vagrantfile, this will ssh into the VMvagrant; vagrant; //Arguments passed as an arrayvagrant;