Sequoia / clijs

Nodeschool lesson-set for learning to build shell tools with javascript
GNU General Public License v3.0
5 stars 0 forks source link

Inquirer.js #9

Open Sequoia opened 9 years ago

Sequoia commented 9 years ago
Sequoia commented 9 years ago

@grabbou? Still into taking this one on?

grabbou commented 9 years ago

Yeah can do! Any suggested ETA on this particular lesson?

grabbou commented 9 years ago

I would suggest async operation in the question as well... e.g. user is prompted for the port he wants to use while setting up his let's say Hapi.js set up. Asynchronously we check first available port on the given IP address and provide the result.

Sequoia commented 9 years ago

Yay! :tada:

As for ETA, I hope to have this whole kit & kaboodle in beta release (all lessons written, ready for testing) by about April 10. :sweat_smile: Whenever you're free to do it is fine-- if you're not free in that time I may take it on myself.

Regarding Hapi & async port reading etc, I fear that might be too much for this exercise. I'm trying to keep the exercises as narrowly focused on the tool in question as possible & err on the side of "too simple." For example in my tables exercise, I initially required sorting based on a switch, then I decided that was just superfluous & needlessly complicated the lesson so I removed it. Basically, I don't want someone to understand the tool (e.g. inquirer.js) but get stuck because of some other concept.

I err on the side of simple because if worst comes to worst the user just flies thru the exercises quickly, and that's OK!

So the points I'd prefer to hit here are basically all specifically related to inquirer.js:

It sounds like that's probably simpler than you were planning... is that alright? Lemme know what you think!