tmail-cli 0.1.0__tar.gz → 0.2.0__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.
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/CONTRIBUTING.md +0 -1
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/PKG-INFO +5 -4
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/README.md +4 -3
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/docs/guide.md +7 -1
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/pyproject.toml +1 -1
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/src/tmail/cli.py +7 -1
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/.gitattributes +0 -0
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/.gitignore +0 -0
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/CODE_OF_CONDUCT.md +0 -0
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/LICENSE +0 -0
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/SECURITY.md +0 -0
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/docs/development.md +0 -0
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/requirements.txt +0 -0
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/src/tmail/__init__.py +0 -0
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/src/tmail/__main__.py +0 -0
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/src/tmail/api.py +0 -0
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/src/tmail/storage.py +0 -0
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/src/tmail/ui.py +0 -0
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/tests/__init__.py +0 -0
- {tmail_cli-0.1.0 → tmail_cli-0.2.0}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tmail-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: CLI tool for generating temporary email addresses and viewing inboxes
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -12,7 +12,7 @@ Requires-Dist: rich
|
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
|
|
14
14
|
<p align="center">
|
|
15
|
-
<img src="https://img.shields.io/badge/tmail-v0.
|
|
15
|
+
<img src="https://img.shields.io/badge/tmail-v0.2.0-blue" alt="version">
|
|
16
16
|
<img src="https://img.shields.io/badge/python-%3E%3D3.10-green" alt="python">
|
|
17
17
|
<img src="https://img.shields.io/badge/license-MIT-yellow" alt="license">
|
|
18
18
|
</p>
|
|
@@ -28,8 +28,9 @@ and live-polls their inbox. Built with Python and [Rich](https://github.com/Text
|
|
|
28
28
|
## Quick start
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
|
-
pip install
|
|
32
|
-
|
|
31
|
+
pip install tmail-cli
|
|
32
|
+
# or with uv:
|
|
33
|
+
pip install uv && uv tool install tmail-cli
|
|
33
34
|
tmail # interactive TUI
|
|
34
35
|
```
|
|
35
36
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://img.shields.io/badge/tmail-v0.
|
|
2
|
+
<img src="https://img.shields.io/badge/tmail-v0.2.0-blue" alt="version">
|
|
3
3
|
<img src="https://img.shields.io/badge/python-%3E%3D3.10-green" alt="python">
|
|
4
4
|
<img src="https://img.shields.io/badge/license-MIT-yellow" alt="license">
|
|
5
5
|
</p>
|
|
@@ -15,8 +15,9 @@ and live-polls their inbox. Built with Python and [Rich](https://github.com/Text
|
|
|
15
15
|
## Quick start
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
pip install
|
|
19
|
-
|
|
18
|
+
pip install tmail-cli
|
|
19
|
+
# or with uv:
|
|
20
|
+
pip install uv && uv tool install tmail-cli
|
|
20
21
|
tmail # interactive TUI
|
|
21
22
|
```
|
|
22
23
|
|
|
@@ -433,7 +433,7 @@ def main():
|
|
|
433
433
|
from importlib.metadata import version as _v
|
|
434
434
|
VERSION = _v("tmail-cli")
|
|
435
435
|
except Exception:
|
|
436
|
-
VERSION = "0.
|
|
436
|
+
VERSION = "0.2.0"
|
|
437
437
|
|
|
438
438
|
parser = argparse.ArgumentParser(
|
|
439
439
|
description="Disposable email addresses in your terminal.",
|
|
@@ -489,6 +489,9 @@ def main():
|
|
|
489
489
|
|
|
490
490
|
if args.inbox:
|
|
491
491
|
target = args.inbox
|
|
492
|
+
if target == "__generate__" and generated is None:
|
|
493
|
+
print("error: --inbox requires an EMAIL argument or --generate", file=sys.stderr)
|
|
494
|
+
sys.exit(1)
|
|
492
495
|
if target == "__generate__" or generated is not None:
|
|
493
496
|
if generated is None:
|
|
494
497
|
generated = get_random_email()
|
|
@@ -501,6 +504,9 @@ def main():
|
|
|
501
504
|
|
|
502
505
|
if args.watch:
|
|
503
506
|
target = args.watch
|
|
507
|
+
if target == "__generate__" and generated is None:
|
|
508
|
+
print("error: --watch requires an EMAIL argument or --generate", file=sys.stderr)
|
|
509
|
+
sys.exit(1)
|
|
504
510
|
if target == "__generate__" or generated is not None:
|
|
505
511
|
if generated is None:
|
|
506
512
|
generated = get_random_email()
|
|
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
|