minimal-pba-cli-plugin-example 0.0.2__py3-none-any.whl

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.
File without changes
@@ -0,0 +1,35 @@
1
+ from typing import Annotated
2
+
3
+ import typer
4
+
5
+
6
+ greet = typer.Typer()
7
+
8
+
9
+ @greet.command()
10
+ def morning(name: Annotated[str, typer.Argument()] = "world"):
11
+ """Say good morning to NAME."""
12
+
13
+ typer.echo(f"Good morning {name}!")
14
+
15
+
16
+ @greet.command()
17
+ def evening(name: Annotated[str, typer.Argument()] = "world"):
18
+ """Say good evening to NAME."""
19
+
20
+ typer.echo(f"Good evening {name}!")
21
+
22
+
23
+ def salute(name: Annotated[str, typer.Argument()] = "world"):
24
+ """Say salutations to NAME."""
25
+
26
+ typer.echo(f"Salutations {name}!")
27
+
28
+
29
+ groups = {
30
+ "greet": greet,
31
+ }
32
+
33
+ commands = {
34
+ "salute": salute,
35
+ }
@@ -0,0 +1,21 @@
1
+ Metadata-Version: 2.4
2
+ Name: minimal-pba-cli-plugin-example
3
+ Version: 0.0.2
4
+ Summary: A minimal command-line interface plugin for minimal-pba-cli
5
+ Author-email: Dane Hillard <github@danehillard.com>
6
+ Project-URL: Repository, https://github.com/easy-as-python/minimal-pba-cli-plugin-example
7
+ Project-URL: Issues, https://github.com/easy-as-python/minimal-pba-cli-plugin-example/issues
8
+ Classifier: Development Status :: 2 - Pre-Alpha
9
+ Classifier: Intended Audience :: Developers
10
+ Classifier: Programming Language :: Python
11
+ Classifier: Programming Language :: Python :: 3.9
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3 :: Only
18
+ Classifier: License :: OSI Approved :: MIT License
19
+ Requires-Python: >=3.9
20
+ Requires-Dist: rich>=14.0.0
21
+ Requires-Dist: typer>=0.12.5
@@ -0,0 +1,7 @@
1
+ minimal_pba_cli_plugin_example/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ minimal_pba_cli_plugin_example/plugin.py,sha256=UZpHziNOUqCeHsV_r_utcM67s_bhQPDAyWVyC9AKg_A,597
3
+ minimal_pba_cli_plugin_example-0.0.2.dist-info/METADATA,sha256=yMCo6k3njtZPcNlD8wi8nrtOjx1qUEoloNRJK3ZifwQ,1002
4
+ minimal_pba_cli_plugin_example-0.0.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
5
+ minimal_pba_cli_plugin_example-0.0.2.dist-info/entry_points.txt,sha256=QQPKyuaHnO1WOog7ph_XciCq71EJiidQ_LQZSmpipJQ,66
6
+ minimal_pba_cli_plugin_example-0.0.2.dist-info/top_level.txt,sha256=D-RpQV7IBf0uJt6JysIgB8OJjBPZUU_CiIKe2tzKy4w,31
7
+ minimal_pba_cli_plugin_example-0.0.2.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (78.1.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [minimal_pba_cli]
2
+ example = minimal_pba_cli_plugin_example.plugin
@@ -0,0 +1 @@
1
+ minimal_pba_cli_plugin_example