Open UltCombo opened 9 years ago
Yeah, let's keep it simple by now. In the feature we can (maybe) provide more options.
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.
I guess this options set would be more useful to end-users:
The choices would be:
preferGlobal
andbin
fields in package.jsonThough, this might be overcomplicating the issue, I guess a simple "Does this package include a CLI program?" boolean prompt could suffice.