Ninja-Squad/quizz — pull request #11 by cexbrayat (2014-02-07 17:23:39+00:00)
Title: Yeoman generator

My friday afternoon experimentation : building a Yeoman generator for quizz.

It's quite simple, but not feature complete. You can test it with :

cd generator-quizz
npm install
npm link

This step is necessary to test, but if we publish the generator, it will be useless.

Then in an empty directory

npm install -g yo // if you don't have Yeoman installed
yo quizz

This will generate the sample quizz in your directory!

You can then add a question with

yo quizz:checkbox 3

(if you want a new question with 3 checkboxes, only checkboxes are supported for now).

Give it a try and tell me what you think!