Files
cs249r_book/cli/core/__init__.py
Vijay Janapa Reddi 70e92435eb feat(cli): add preview and doctor commands with clear descriptions
New Commands:
- Add PreviewCommand for live development server with hot reload
- Add DoctorCommand for comprehensive health checks (18 checks)
- Clear command descriptions distinguish build vs preview vs formats

Command Clarity:
- build: Build static files to disk (HTML)
- preview: Start live dev server with hot reload
- pdf: Build static PDF file to disk
- epub: Build static EPUB file to disk

Health Check Features:
- System dependencies (Python, Quarto, Git, Node.js, R)
- Configuration file validation
- Chapter file scanning (62 chapters found)
- Build artifacts status
- Git repository status
- File permissions check

All tests passing - comprehensive CLI ready for use
2025-08-27 15:09:21 +02:00

9 lines
206 B
Python

"""
Core functionality for the MLSysBook CLI.
This module contains shared components used across different commands:
- Configuration management
- File and chapter discovery
- Output directory handling
"""