e.g.
Object.keys(commands)
.map((key) => {
return commands[key];
})
.forEach((cmd) => {
if (cmd.yargsSetup) {
cmd.yargsSetup();
}
if (cmd.examples) {
cmd.examples();
}
});
warn that Object.keys can be replaced with _.keys.
This would be great for consistency.