replaces optimist with yargs