CLI — Command reference
1. New course
Section titled "1. New course"The first step is to create the course directory structure:
./temario new my-courseCreates courses/my-course/ with the full structure and copies the ODP template from
the ejemplo course as a starting point.
courses/my-course/├── content/│ └── my-course_00.yaml ← ready-to-edit initial YAML├── template/│ └── plantilla.odp ← copy of the example template├── output/│ ├── odp/│ └── pdf/└── version.txt2. Import ODP template
Section titled "2. Import ODP template"To use your own ODP template instead of the example:
./temario import courses/my-course/template/my-template.odpAnalyses the ODP and generates template.yaml with the detected slide indices
and styles. From that point on, the generator uses your template.
3. Build
Section titled "3. Build"Generates ODP and PDF from the course YAML files:
# Build all courses./temario build
# Build a complete course./temario build courses/my-course
# Build a single presentation./temario build courses/my-course/content/my-course_00.yaml
# ODP only, no PDF./temario build courses/my-course --no-pdf4. Watch
Section titled "4. Watch"Automatically regenerates when YAML file changes are detected:
./temario build --watch courses/my-courseValidate YAML
Section titled "Validate YAML"Checks the YAML structure without generating anything:
./temario validate courses/my-course/content/my-course_00.yamlVersion
Section titled "Version"./temario version./temario version courses/my-courseClean output
Section titled "Clean output"# All generated output./temario clean
# One course only./temario clean courses/my-course
# ODP only or PDF only./temario clean --tipo odp./temario clean courses/my-course --tipo pdfConfiguration
Section titled "Configuration"./temario config show./temario config set courses_dir ~/my-courses./temario config set language en./temario config set theme light./temario config set generation.code_split_lines 30./temario config set generation.list_split_items 14./temario config set generation.compare_split_lines 20Initial setup
Section titled "Initial setup"./temario setupFirst-run configuration wizard. Asks for the courses directory and other
basic preferences. Equivalent to running config set for each key.
# Full suite (generates reports in reports/)./temario test
# With test name filter./temario test -k helpers
# GUI tests (requires uv sync --group gui)uv run --group gui python -m pytest tests/gui/ -v