JSRocksHQ / slush-es20xx

Full ECMAScript.next development and deployment workflow.
Other
6 stars 1 forks source link

Node.js generator: package type option #11

Open UltCombo opened 9 years ago

UltCombo commented 9 years ago

The choices would be:

Though, this might be overcomplicating the issue, I guess a simple "Does this package include a CLI program?" boolean prompt could suffice.

jaydson commented 9 years ago

Yeah, let's keep it simple by now. In the feature we can (maybe) provide more options.

UltCombo commented 9 years ago

Had another idea:

Currently we have a "preferred flags" prompt, if the user input matches /\b-g|--global\b/ then we set preferGlobal: true. Then in another question we ask what kind of Node package is it, this would be a radio selection of API, CLI or both. Or perhaps two checkboxes would be okay too.

Anyway this is low priority, I'll publish slush-es20xx 1.0.0 without this feature.

UltCombo commented 9 years ago

I guess this options set would be more useful to end-users: