@datajaddah/course
v0.0.6
Published
CLI for authoring, validating, and previewing Datajaddah courses from GitHub repositories
Downloads
483
Maintainers
Readme
@datajaddah/course
CLI for authoring, validating, and previewing Datajaddah courses from GitHub repositories.
Install
npm install @datajaddah/courseCommands
datajaddah-course init [path] [--title "Title"] [--force]
Scaffold a new course repository with example lessons (slides, quiz, coding exercise, spreadsheet lab).
datajaddah-course validate [path] [--json]
Validate a course repository against the repo_tree_v1 contract. Reports structural errors, missing files, and invalid frontmatter.
datajaddah-course preview [path] [--port 4310] [--host 127.0.0.1]
Start a local preview server that renders all course content in a browser. Refreshes from disk on each page load.
Supported Lesson Kinds
- slides — Markdown slides with narration scripts, layouts, and image slots
- video — External video URL with notes
- quiz — Multiple-choice questions with feedback
- coding_exercise — Python or R exercises with starter and solution code
- spreadsheet_lab — Univerjs-powered spreadsheet exercises with checks
