Skip to content
Myr

marble

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 7f12f03 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:examples/pizza+2 added-2 removed
9 unmodified lines
10 .version('0.0.1')11 .option('-p, --peppers', 'Add peppers')12 .option('-P, --pineapple', 'Add pineapple')13 .option('-b, --bbq', 'Add bbq sauce')14 .option('-c, --cheese <type>', 'Add the specified type of cheese [cheddar]')14 .option('-c, --cheese <type>', 'Add the specified type of cheese [marble]')15 .option('-C, --no-cheese', 'You do not want any cheese')16 .parse(process.argv);1718console.log('you ordered a pizza with:');
1 unmodified line
20if (program.pineappe) console.log(' - pineapple');21if (program.bbq) console.log(' - bbq');2223var cheese = true === program.cheese24 ? 'cheddar'24 ? 'marble'25 : program.cheese || 'no';2627console.log(' - %s cheese', cheese);