API client and command line tool for Ishiki
npm install hachi
Usage:
var Hachi = require('hachi'),
hachi = new Hachi({target: '127.0.0.1', port: '8080'});
hachi.api.users.login({username: 'user', password: 'password'}, function() {
console.log('Successfully logged in');
});
//...
Or to install globally (preferred):
npm install -g hachi
Usage:
hachi
Run hachi
(or hachi --help
) for all commands and options.