replace optimist by yargs