Files
cs249r_book/cli/utils/__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

7 lines
152 B
Python

"""
Utility functions and helpers for the MLSysBook CLI.
Contains shared utilities for console output, validation, and other
common functionality.
"""