butterscotch-pudding
Create figgy-pudding instances from yargs options
One day, long ago, it was Talk Like A Pirate Day and Butterscotch Pudding Day.
Install
$ npm install butterscotch-pudding
Usage
const bp = ;const yargs = ; const opts = ships: type: 'number' default: 3 distance: type: 'number' color: type: 'string' defaultDescription: 'butterscotch' ; const CommandOptions = ;const argv = optionsopts;const opts = ; opts; // => 3opts; // => 'chartreuse'opts; // => Error: CommandOptions does not define 'cutlass'