LearnOS docs
CLI

search & courses

Discover courses and run hybrid search over lesson content.

courses

List every course with id and completion progress. Use the id or title with --course elsewhere.

Parameters
NameTypeDefaultDescription
--formatjson | textjsonOutput format.
Returns
JSON { count, courses[] } or, in text mode, one line per course: id, completed/total, title.
search

Hybrid keyword + semantic search across your lessons, fused with Reciprocal Rank Fusion.

Parameters
NameTypeDefaultDescription
<query>*stringNatural-language search query (positional).
--coursestringCourse id or title substring. Omit to search the whole library.
--limitinteger8Max sections to return.
--formatjson | textjsonOutput 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 ossu

Each result carries a lesson_id and anchor — feed those to chunk get / lesson get to read the full text.

Command Palette

Search for a command to run...