From c31073e2f9ad2cce1ec3865b2d1d6432f5f43bb6 Mon Sep 17 00:00:00 2001 From: cclucky <2226114701@qq.com> Date: Thu, 14 May 2026 01:32:15 +0800 Subject: [PATCH 1/2] =?UTF-8?q?docs:=20update=20README=20=E2=80=94=20PyPI?= =?UTF-8?q?=20install,=20badge,=20deduplicate=20dev=20setup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- README.md | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index fb1d12e..58b6766 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # WeCom CLI 🚀 [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) +[![PyPI](https://img.shields.io/pypi/v/api-wecom-cli.svg)](https://pypi.org/project/api-wecom-cli/) [![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) @@ -21,11 +22,21 @@ ## 📦 安装 ```bash -pip install -e . +pip install api-wecom-cli ``` *要求 Python >= 3.11* +
+开发安装 + +```bash +pip install -e ".[dev]" +pre-commit install +``` + +
+ ## 🚀 快速上手 配置凭证(支持环境变量或配置文件): @@ -68,17 +79,8 @@ wecom customers list-follow-users ## 🛠️ 开发者指南 -我们使用 `pre-commit` 来保障代码质量。 - ```bash -# 安装开发依赖 -pip install -e ".[dev]" - -# 安装并激活 pre-commit hooks -pre-commit install - -# 手动运行全量检查 -pre-commit run --all-files +pre-commit run --all-files # 提交前必跑 ``` ### 自动化脚本 From dd43f4aba5ac1f7eb9217d60927d38445ff480ed Mon Sep 17 00:00:00 2001 From: cclucky <2226114701@qq.com> Date: Thu, 14 May 2026 20:57:56 +0800 Subject: [PATCH 2/2] docs: add LINUX DO community friend link to README Co-Authored-By: Claude Opus 4.7 --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 58b6766..3c73711 100644 --- a/README.md +++ b/README.md @@ -108,3 +108,7 @@ pre-commit run --all-files # 提交前必跑 ## 📄 开源协议 本项目采用 [MIT License](LICENSE) 开源。 + +## 🌐 社区 + +- [LINUX DO](https://linux.do/) — 开发者社区,项目起步于此