import program from 'commander' import _ from 'lodash' import * as runner from '../src/task-runner' program .option('-f, --from [planet name]', 'where you want to push glyphs from') .option('-t, --to [planet name]', 'where you want the glyphs to end up') .parse(process.argv) let options = _.pick(program, 'from to'.split(' ')) runner.run('push-glyphs', options)