// validate arguments limited to enumerated choices
self.limitedChoices = function limitedChoices(argv) {
const invalid: Dictionary<any[]> = {};
if (!Object.keys(options.choices).length) return;
Object.keys(argv).forEach(key => {