Nicer args parse

This commit is contained in:
Daniel Odendahl Jr
2017-04-23 23:27:03 +00:00
parent 678d3d3ae8
commit 11a610ab5e
28 changed files with 37 additions and 95 deletions
+1 -3
View File
@@ -22,9 +22,7 @@ module.exports = class RandomNameCommand extends Command {
}
return 'Please enter either `male` or `female`.';
},
parse: text => {
return text.toLowerCase();
}
parse: text => text.toLowerCase()
}]
});
}