@3bbas/mkquiz
v2.1.0
Published
This cli tool to support Quizzez project for ma-helper (github user).
Downloads
121
Readme
mkquiz CLI
mkquiz is a command-line tool to manage quizzes for the [Quizzez static project].

📦 Installation
npm install -g @3bbas/mkquiz🚀 Usage
mkquiz [command]💡 Available Commands
| 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 |
🧪 Example
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📁 Project Structure
This CLI expects a Quizzez project structure similar to:
project/
├── 1st/
│ └── subject/
│ └── midterm/
│ └── quizname/
│ └── index.html
│ └── data.json🛠 Maintained By
Author: 3bbas
Based on: ma-helper Quizzez project
