replace minimist with yargs; boolean flags