mkquiz
is a command-line tool to manage quizzes for the [Quizzez static project].
npm install -g @3bbas/mkquiz
mkquiz [command]
Command | Alias | Description |
---|---|---|
mkquiz |
Show the welcome banner and intro message | |
config |
Set the Quizzez project configuration (path & template) | |
add |
Add a new quiz (interactive prompt for details) | |
remove |
rmv |
Remove an existing quiz or subject folder |
revive |
Rebuild the entire quizzes folder structure | |
fix-paths |
Fix paths inside JSON files to match web format |
mkquiz config # Setup your project configuration
mkquiz add # Add a new quiz via prompts
mkquiz rmv -q quiz1 # Remove a specific quiz
mkquiz rmv -s subject1 # Remove a whole subject
mkquiz revive # Regenerate quizzes structure from JSONs
Author: 3bbas
Based on: ma-helper Quizzez project