api-wecom-cli 0.1.0a4__tar.gz → 0.1.0a6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/PKG-INFO +1 -1
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/README.md +17 -11
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/api_wecom_cli.egg-info/PKG-INFO +1 -1
- api_wecom_cli-0.1.0a6/apis/generated_client.py +3621 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/cli/generated_commands.py +3361 -3670
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/pyproject.toml +1 -1
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/tests/test_discovery.py +18 -15
- api_wecom_cli-0.1.0a4/apis/generated_client.py +0 -4037
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/LICENSE +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/api_wecom_cli.egg-info/SOURCES.txt +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/api_wecom_cli.egg-info/dependency_links.txt +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/api_wecom_cli.egg-info/entry_points.txt +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/api_wecom_cli.egg-info/top_level.txt +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/apis/__init__.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/cli/__init__.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/cli/help_formatter.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/cli/main.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/core/__init__.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/core/auth.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/core/config.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/core/errors.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/core/requester.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/models/__init__.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/models/common.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/setup.cfg +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/tests/test_auth.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/tests/test_build_agent_tasks.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/tests/test_catalog_diff.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/tests/test_cli.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/tests/test_codegen.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/tests/test_config.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/tests/test_coverage.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/tests/test_requester.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/tests/test_run_catalog_sync.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/tests/test_scaffold.py +0 -0
- {api_wecom_cli-0.1.0a4 → api_wecom_cli-0.1.0a6}/tests/test_sync_spec_docs.py +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# WeCom CLI 🚀
|
|
2
2
|
|
|
3
3
|
[](https://opensource.org/licenses/MIT)
|
|
4
|
+
[](https://pypi.org/project/api-wecom-cli/)
|
|
4
5
|
[](https://www.python.org/downloads/)
|
|
5
6
|
[](https://github.com/astral-sh/ruff)
|
|
6
7
|
|
|
@@ -21,11 +22,21 @@
|
|
|
21
22
|
## 📦 安装
|
|
22
23
|
|
|
23
24
|
```bash
|
|
24
|
-
pip install -
|
|
25
|
+
pip install api-wecom-cli
|
|
25
26
|
```
|
|
26
27
|
|
|
27
28
|
*要求 Python >= 3.11*
|
|
28
29
|
|
|
30
|
+
<details>
|
|
31
|
+
<summary>开发安装</summary>
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pip install -e ".[dev]"
|
|
35
|
+
pre-commit install
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
</details>
|
|
39
|
+
|
|
29
40
|
## 🚀 快速上手
|
|
30
41
|
|
|
31
42
|
配置凭证(支持环境变量或配置文件):
|
|
@@ -68,17 +79,8 @@ wecom customers list-follow-users
|
|
|
68
79
|
|
|
69
80
|
## 🛠️ 开发者指南
|
|
70
81
|
|
|
71
|
-
我们使用 `pre-commit` 来保障代码质量。
|
|
72
|
-
|
|
73
82
|
```bash
|
|
74
|
-
#
|
|
75
|
-
pip install -e ".[dev]"
|
|
76
|
-
|
|
77
|
-
# 安装并激活 pre-commit hooks
|
|
78
|
-
pre-commit install
|
|
79
|
-
|
|
80
|
-
# 手动运行全量检查
|
|
81
|
-
pre-commit run --all-files
|
|
83
|
+
pre-commit run --all-files # 提交前必跑
|
|
82
84
|
```
|
|
83
85
|
|
|
84
86
|
### 自动化脚本
|
|
@@ -106,3 +108,7 @@ pre-commit run --all-files
|
|
|
106
108
|
## 📄 开源协议
|
|
107
109
|
|
|
108
110
|
本项目采用 [MIT License](LICENSE) 开源。
|
|
111
|
+
|
|
112
|
+
## 🌐 社区
|
|
113
|
+
|
|
114
|
+
- [LINUX DO](https://linux.do/) — 开发者社区,项目起步于此
|