Skip to main content

CLI: vyasa lesson


Usage: vyasa lesson [OPTIONS] COMMAND [ARGS]...

Add, list, and resolve project lessons

┌─ Options ────────────────────────────────────────────────────────────────────┐
│ --help -h Show this message and exit. │
└──────────────────────────────────────────────────────────────────────────────┘
┌─ Commands ───────────────────────────────────────────────────────────────────┐
│ add Add a lesson to the project's lessons store. │
│ list List lessons, optionally filtered by type. │
│ resolve Mark a lesson as resolved with a resolution note. │
└──────────────────────────────────────────────────────────────────────────────┘

vyasa lesson add


Usage: vyasa lesson add [OPTIONS]

Add a lesson to the project's lessons store.

┌─ Options ────────────────────────────────────────────────────────────────────┐
│ --type TEXT Lesson type: correction, discovery, decision, │
│ or anti-pattern │
│ --description TEXT Lesson text │
│ --context TEXT Optional context (session_id, node_id, trigger) │
│ --dir PATH Project directory │
│ --interactive Force interactive prompts │
│ --help -h Show this message and exit. │
└──────────────────────────────────────────────────────────────────────────────┘

vyasa lesson list


Usage: vyasa lesson list [OPTIONS]

List lessons, optionally filtered by type.

┌─ Options ────────────────────────────────────────────────────────────────────┐
│ --type TEXT Filter by lesson type │
│ --dir PATH Project directory │
│ --help -h Show this message and exit. │
└──────────────────────────────────────────────────────────────────────────────┘

vyasa lesson resolve


Usage: vyasa lesson resolve [OPTIONS]

Mark a lesson as resolved with a resolution note.

┌─ Options ────────────────────────────────────────────────────────────────────┐
│ * --id TEXT Lesson ID to resolve [required] │
│ * --resolution TEXT Resolution note [required] │
│ --dir PATH Project directory │
│ --help -h Show this message and exit. │
└──────────────────────────────────────────────────────────────────────────────┘