System administration and automation tool.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
.gitignore
LICENSE
README.md
index.js
package.json

README.md

material

System administration and automation tool, inspired by Fabric.

Usage:

$ npm install material -g

create a matfile.js (anywhere) with the following contents:

var run = require('material').run;

env.nodes = [{
  name: 'local',
  host: '127.0.0.1',
  user: 'my-username',
  pkey: 'my-pkey-path'
}];

function host_type(done) {
  run('uname -s', function(err, result) {
    console.log(result.toString());
    done();
  });
}

then execute with the following command:

$ mat -h local host_type

thats it, you can see a similar result on your console:

Connecting to 127.0.0.1 ...
Connected.

Linux

Disconnecting...
Disconnected.

Basically my idea is to have a simple tool for daily DevOps tasks in Node.

Currently I'm busy working on more features and tests. Please be patient.

License

Licensed under the MIT License, see the LICENSE file