optimist replaced with yargs