1 2 3 4 5 6 7 8 9
const sorcery = require('sorcery'); const argv = require('yargs') .alias('f', 'file') .argv; sorcery.load(argv.file).then(function (chain) { chain.write(); });