const args = process.argv.splice(2).reduce((x,y) => { const bits = y.split('='); const name = bits[0].replace('--', ''); const val = bits[1]; x[name] = val; return x; }, {}); module.exports = { args };