email-cli-tool 0.2.0__tar.gz → 0.2.1__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.
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/.github/workflows/publish.yml +2 -2
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/.github/workflows/test.yml +2 -2
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/PKG-INFO +12 -3
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/README.md +11 -2
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/README_CN.md +11 -2
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/pyproject.toml +1 -1
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/src/emailcli/cli.py +1 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/tests/test_cli.py +7 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/uv.lock +1 -1
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/.gitignore +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/.python-version +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/LICENSE +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/docs/superpowers/plans/2026-03-25-emailcli.md +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/docs/superpowers/plans/2026-06-10-emailcli-skill-install.md +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/docs/superpowers/specs/2026-03-25-emailcli-design.md +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/docs/superpowers/specs/2026-06-10-emailcli-skill-install-design.md +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/src/emailcli/__init__.py +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/src/emailcli/config.py +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/src/emailcli/exceptions.py +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/src/emailcli/message.py +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/src/emailcli/py.typed +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/src/emailcli/sender.py +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/src/emailcli/skill_install.py +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/src/emailcli/skills/send-email/SKILL.md +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/tests/__init__.py +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/tests/test_config.py +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/tests/test_message.py +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/tests/test_sender.py +0 -0
- {email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/tests/test_skill_install.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: email-cli-tool
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: A simple CLI tool for sending emails with plain text, HTML, and file attachments
|
|
5
5
|
Project-URL: Homepage, https://github.com/ClaymanTwinkle/email-cli-tool
|
|
6
6
|
Project-URL: Repository, https://github.com/ClaymanTwinkle/email-cli-tool
|
|
@@ -42,13 +42,22 @@ Description-Content-Type: text/markdown
|
|
|
42
42
|
## Installation
|
|
43
43
|
|
|
44
44
|
```bash
|
|
45
|
-
# From PyPI
|
|
45
|
+
# From PyPI (latest)
|
|
46
46
|
pip install email-cli-tool
|
|
47
47
|
|
|
48
|
+
# Install a specific version
|
|
49
|
+
pip install email-cli-tool==0.2.0
|
|
50
|
+
|
|
51
|
+
# Upgrade an existing install
|
|
52
|
+
pip install --upgrade email-cli-tool
|
|
53
|
+
|
|
48
54
|
# Or with uv
|
|
49
|
-
uv tool install email-cli-tool
|
|
55
|
+
uv tool install email-cli-tool # latest
|
|
56
|
+
uv tool install email-cli-tool==0.2.0 # specific version
|
|
50
57
|
```
|
|
51
58
|
|
|
59
|
+
> The `emailcli skill install` command requires version **0.2.0** or newer.
|
|
60
|
+
|
|
52
61
|
## Quick Start
|
|
53
62
|
|
|
54
63
|
### 1. Initialize Configuration
|
|
@@ -16,13 +16,22 @@
|
|
|
16
16
|
## Installation
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
# From PyPI
|
|
19
|
+
# From PyPI (latest)
|
|
20
20
|
pip install email-cli-tool
|
|
21
21
|
|
|
22
|
+
# Install a specific version
|
|
23
|
+
pip install email-cli-tool==0.2.0
|
|
24
|
+
|
|
25
|
+
# Upgrade an existing install
|
|
26
|
+
pip install --upgrade email-cli-tool
|
|
27
|
+
|
|
22
28
|
# Or with uv
|
|
23
|
-
uv tool install email-cli-tool
|
|
29
|
+
uv tool install email-cli-tool # latest
|
|
30
|
+
uv tool install email-cli-tool==0.2.0 # specific version
|
|
24
31
|
```
|
|
25
32
|
|
|
33
|
+
> The `emailcli skill install` command requires version **0.2.0** or newer.
|
|
34
|
+
|
|
26
35
|
## Quick Start
|
|
27
36
|
|
|
28
37
|
### 1. Initialize Configuration
|
|
@@ -16,13 +16,22 @@
|
|
|
16
16
|
## 安装
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
# 从 PyPI
|
|
19
|
+
# 从 PyPI 安装(最新版)
|
|
20
20
|
pip install email-cli-tool
|
|
21
21
|
|
|
22
|
+
# 安装指定版本
|
|
23
|
+
pip install email-cli-tool==0.2.0
|
|
24
|
+
|
|
25
|
+
# 升级已安装的版本
|
|
26
|
+
pip install --upgrade email-cli-tool
|
|
27
|
+
|
|
22
28
|
# 或使用 uv
|
|
23
|
-
uv tool install email-cli-tool
|
|
29
|
+
uv tool install email-cli-tool # 最新版
|
|
30
|
+
uv tool install email-cli-tool==0.2.0 # 指定版本
|
|
24
31
|
```
|
|
25
32
|
|
|
33
|
+
> `emailcli skill install` 命令需要 **0.2.0** 或更高版本。
|
|
34
|
+
|
|
26
35
|
## 快速开始
|
|
27
36
|
|
|
28
37
|
### 1. 初始化配置
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from importlib.metadata import version as pkg_version
|
|
1
2
|
from pathlib import Path
|
|
2
3
|
from unittest.mock import MagicMock, patch
|
|
3
4
|
|
|
@@ -217,3 +218,9 @@ def test_config_show_no_config(runner, tmp_path):
|
|
|
217
218
|
"--config-dir", str(tmp_path / "nonexistent"),
|
|
218
219
|
])
|
|
219
220
|
assert result.exit_code != 0
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
def test_version_option(runner):
|
|
224
|
+
result = runner.invoke(cli, ["--version"])
|
|
225
|
+
assert result.exit_code == 0
|
|
226
|
+
assert pkg_version("email-cli-tool") in result.output
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{email_cli_tool-0.2.0 → email_cli_tool-0.2.1}/docs/superpowers/specs/2026-03-25-emailcli-design.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|