CLI
search & courses
Discover courses and run hybrid search over lesson content.
coursesList every course with id and completion progress. Use the id or title with --course elsewhere.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| --format | json | text | json | Output format. |
Returns
JSON { count, courses[] } or, in text mode, one line per course: id, completed/total, title.
searchHybrid keyword + semantic search across your lessons, fused with Reciprocal Rank Fusion.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| <query>* | string | — | Natural-language search query (positional). |
| --course | string | — | Course id or title substring. Omit to search the whole library. |
| --limit | integer | 8 | Max sections to return. |
| --format | json | text | json | Output format. |
Returns
Ranked sections (chunks), each with course, lesson title, heading path, lesson_id, anchor, and a content preview.
learnos search "javascript event loop" --limit 3 --format text
learnos search "big-o notation" --course ossuEach result carries a lesson_id and anchor — feed those to
chunk get / lesson get to read the full text.