API client and command line tool for Ishiki
npm install hachi
Or to install globally (preferred):
npm install -g hachi
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');
});
//...
hachi connect 127.0.0.1 8080
hachi login user
Run hachi
(or hachi --help
) for all commands and options.