Metadata-Version: 2.4
Name: chm-cli
Version: 0.2.0
Summary: Illuminate the dark corners of your codebase — one command to know your codebase health
Home-page: https://github.com/lighthouse/chm
Author: Lighthouse Analytics
Author-email: hello@lighthouse-analytics.dev
Project-URL: Documentation, https://lighthouse-analytics.dev/docs
Project-URL: Source, https://github.com/lighthouse/chm
Project-URL: Issues, https://github.com/lighthouse/chm/issues
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Software Development :: Version Control :: Git
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: click>=8.0
Requires-Dist: jinja2>=3.0
Provides-Extra: mcp
Requires-Dist: mcp>=1.0; extra == "mcp"
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: build; extra == "dev"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Codebase Health Monitor (CHM)

```
   __
  / /_  ______ ___  _____
 / __ \/ __ `/ / / / ___/
/ / / / /_/ / /_/ (__  )
/_/ /_/\__,_/\__, /____/
            /____/

Codebase Health Monitor v0.1.0
```

将任何 git 仓库转化为可操作的健康度报告。

## 快速上手

```bash
# 安装
pip install -e .

# 在任意 git 仓库运行
chm analyze .
chm analyze . --report html
chm analyze . --output report.html
```

## 功能

- `chm analyze` — 完整分析
- `chm hotspots` — 显示修改最频繁的文件
- `chm churn` — 代码流失率
- `chm authors` — 贡献者统计
- `chm pulse` — 团队活跃节奏
