A minimal command-line interface plugin for minimal-pba-cli
Project description
Minimal command-line interface plugin for minimal-pba-cli
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.
Key moving parts
The main components of a working plugin are:
- The distribution name: Plugins must have a distribution name with a known prefix (in the case of this project,
minimal-pba-cli-plugin-). [project.entry-points.minimal_pba_cli]: This section must exist inpyproject.tomland must contain one key-value pair, where the key is the "proper" name of the plugin (without the distribution name prefix) and the value is the dotted module path of the plugin's main entry point- The plugin entry point: This module must contain either or both of
groupsandcommands. 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, and whose values are the Typer command group objects or command objects, respectively, to execute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file minimal_pba_cli_plugin_example-0.0.3.tar.gz.
File metadata
- Download URL: minimal_pba_cli_plugin_example-0.0.3.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a56c00620cc98f1417cf021680842dc0d5af369431d539c52e08e6d25293fe4a
|
|
| MD5 |
c62fcdafd27148476ee73aa22d7cd3cb
|
|
| BLAKE2b-256 |
cda60bdd3315044c11d70e6df8cedf9a348c9b1b1512a052688793f738a61b7f
|
File details
Details for the file minimal_pba_cli_plugin_example-0.0.3-py3-none-any.whl.
File metadata
- Download URL: minimal_pba_cli_plugin_example-0.0.3-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b969f547cf14e25463d962c60d7d202234802b3cf1f1cf9e278efb7d371796d
|
|
| MD5 |
eeefa4db6b66e05ab90783fcfc7fa286
|
|
| BLAKE2b-256 |
65d86bb66b91e9b4b80e5cd26af8abb438a9d9572cdef83d9da212fe9b74664d
|