stampit-cli
Version:
Helper command line utility to publish and check data through the Ethereum stampit contract. Install with +npm install -g stampit-cli+ then run +stampit help+ and +stampit info+
16 lines (13 loc) • 338 B
JavaScript
// var path = require('path');
// var chalk = require('chalk');
function helpers() {
return {
exit: function(status, msg) {
if (msg) console.log(msg);
process.exit(status || 0);
},
// Use this if you want to add wrapper functions around the pure module.
helpers: helpers
};
}
module.exports = helpers;