#!/usr/bin/env node
const path = require('path');
const esw = require(path.join(__dirname, '..', 'src'));
esw
.run(process.argv)
.then((result) => {
if (result) {
console.log(result);
}
})
.catch((err) => {
console.error(err.message);
process.exit(1);
});