CLI
lesson & chunk
Read full lessons and individual sections.
lesson getFetch the full markdown body of one lesson by id.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| <id>* | string | — | Lesson UUID (positional). |
| --format | json | text | json | Output format. |
Returns
The lesson with its course title and module. In text mode: a markdown header + content_md.
lesson listList lessons within a course, optionally filtered to one module.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| --course* | string | — | Course id or title substring (matched on title via LIKE). |
| --module | string | — | Module-name substring filter. |
| --format | json | text | json | Output format. |
Returns
Lessons with id, title, and module.
chunk getFetch one lesson section (chunk) by lesson_id + anchor, as returned by search.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| <lesson_id>* | string | — | Lesson UUID (positional). |
| <anchor>* | string | — | Anchor slug from a search hit (positional). |
Returns
The section's heading path and full body.
learnos lesson list --course "Web Development" --module "Js basics" --format text
learnos lesson get 4110df12-e7f4-4113-b72d-c8cd427edae7
learnos chunk get 4110df12-e7f4-4113-b72d-c8cd427edae7 loops-modern-loop-alternatives