minimal-pba-cli-plugin-example 0.0.2__py3-none-any.whl → 0.0.3__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.
- minimal_pba_cli_plugin_example-0.0.3.dist-info/METADATA +38 -0
- minimal_pba_cli_plugin_example-0.0.3.dist-info/RECORD +7 -0
- minimal_pba_cli_plugin_example-0.0.2.dist-info/METADATA +0 -21
- minimal_pba_cli_plugin_example-0.0.2.dist-info/RECORD +0 -7
- {minimal_pba_cli_plugin_example-0.0.2.dist-info → minimal_pba_cli_plugin_example-0.0.3.dist-info}/WHEEL +0 -0
- {minimal_pba_cli_plugin_example-0.0.2.dist-info → minimal_pba_cli_plugin_example-0.0.3.dist-info}/entry_points.txt +0 -0
- {minimal_pba_cli_plugin_example-0.0.2.dist-info → minimal_pba_cli_plugin_example-0.0.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,38 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: minimal-pba-cli-plugin-example
|
3
|
+
Version: 0.0.3
|
4
|
+
Summary: A minimal command-line interface plugin for minimal-pba-cli
|
5
|
+
Author-email: Dane Hillard <github@danehillard.com>
|
6
|
+
License-Expression: MIT
|
7
|
+
Project-URL: Repository, https://github.com/easy-as-python/minimal-pba-cli-plugin-example
|
8
|
+
Project-URL: Issues, https://github.com/easy-as-python/minimal-pba-cli-plugin-example/issues
|
9
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
10
|
+
Classifier: Intended Audience :: Developers
|
11
|
+
Classifier: Programming Language :: Python
|
12
|
+
Classifier: Programming Language :: Python :: 3.9
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
17
|
+
Classifier: Programming Language :: Python :: 3
|
18
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
19
|
+
Requires-Python: >=3.9
|
20
|
+
Description-Content-Type: text/markdown
|
21
|
+
Requires-Dist: rich>=14.0.0
|
22
|
+
Requires-Dist: typer>=0.12.5
|
23
|
+
|
24
|
+
# Minimal command-line interface plugin for [minimal-pba-cli](https://github.com/easy-as-python/minimal-pba-cli)
|
25
|
+
|
26
|
+
This is a minimal example of a plugin that can be discovered, installed, and used in a command-line interface using a plugin-based architecture.
|
27
|
+
|
28
|
+
## Key moving parts
|
29
|
+
|
30
|
+
The main components of a working plugin are:
|
31
|
+
|
32
|
+
- The distribution name: Plugins must have a distribution name with a known prefix (in the case of this project, `minimal-pba-cli-plugin-`).
|
33
|
+
- `[project.entry-points.minimal_pba_cli]`: This section must exist in `pyproject.toml` and must contain one key-value pair,
|
34
|
+
where the key is the "proper" name of the plugin (without the distribution name prefix)
|
35
|
+
and the value is the dotted module path of the plugin's main entry point
|
36
|
+
- The plugin entry point: This module must contain either or both of `groups` and `commands`.
|
37
|
+
Each of these is a dictionary whose keys are the name of the command or command group that the plugin will provide to the core CLI,
|
38
|
+
and whose values are the [Typer](https://typer.tiangolo.com/) command group objects or command objects, respectively, to execute.
|
@@ -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.3.dist-info/METADATA,sha256=BEicvTce4uoKx0eis68z6u8V3NwxAxbAdh3A_-2qibg,2134
|
4
|
+
minimal_pba_cli_plugin_example-0.0.3.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
5
|
+
minimal_pba_cli_plugin_example-0.0.3.dist-info/entry_points.txt,sha256=QQPKyuaHnO1WOog7ph_XciCq71EJiidQ_LQZSmpipJQ,66
|
6
|
+
minimal_pba_cli_plugin_example-0.0.3.dist-info/top_level.txt,sha256=D-RpQV7IBf0uJt6JysIgB8OJjBPZUU_CiIKe2tzKy4w,31
|
7
|
+
minimal_pba_cli_plugin_example-0.0.3.dist-info/RECORD,,
|
@@ -1,21 +0,0 @@
|
|
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
|
@@ -1,7 +0,0 @@
|
|
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,,
|
File without changes
|
File without changes
|
File without changes
|