Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
639 changes: 639 additions & 0 deletions PRPs/features/completed/add-health-check-command.md

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions dylan/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from rich.table import Table

from .utility_library.dylan_dev.dylan_dev_cli import dev
from .utility_library.dylan_health.dylan_health_cli import health
from .utility_library.dylan_pr.dylan_pr_cli import pr
from .utility_library.dylan_release.dylan_release_cli import release_app
from .utility_library.dylan_review.dylan_review_cli import review
Expand All @@ -25,6 +26,7 @@
)
app.add_typer(standup_app, name="standup", help="Generate daily standup reports from git activity")
app.add_typer(release_app, name="release", help="Create and manage project releases")
app.command(name="health", help="Check system health and dependencies")(health)
app.command(name="review", help="Run AI-powered code reviews on git branches")(review)
app.command(name="dev", help="Implement fixes from code reviews")(dev)
app.command(name="pr", help="Create pull requests with AI-generated descriptions")(pr)
Expand Down Expand Up @@ -56,6 +58,11 @@ def _main(ctx: typer.Context) -> None:
"Generate daily standup reports",
"dylan standup --since yesterday"
)
table.add_row(
"health",
"Check system health and dependencies",
"dylan health --verbose"
)
table.add_row(
"review",
"Run code reviews on branches",
Expand Down
19 changes: 19 additions & 0 deletions dylan/utility_library/dylan_health/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"""Health check module for Dylan CLI.

This module provides comprehensive system diagnostics and health checks
for the Dylan development environment, verifying that all required
dependencies (Git, GitHub CLI, Claude Code) are properly installed and
configured.
"""

from dylan.utility_library.dylan_health.checks import (
HealthCheckResult,
HealthCheckStatus,
)
from dylan.utility_library.dylan_health.dylan_health_cli import health

__all__ = [
"health",
"HealthCheckResult",
"HealthCheckStatus",
]
Loading