Skip to main content

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 in pyproject.toml and 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 groups and commands. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minimal_pba_cli_plugin_example-0.0.3.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file minimal_pba_cli_plugin_example-0.0.3.tar.gz.

File metadata

File hashes

Hashes for minimal_pba_cli_plugin_example-0.0.3.tar.gz
Algorithm Hash digest
SHA256 a56c00620cc98f1417cf021680842dc0d5af369431d539c52e08e6d25293fe4a
MD5 c62fcdafd27148476ee73aa22d7cd3cb
BLAKE2b-256 cda60bdd3315044c11d70e6df8cedf9a348c9b1b1512a052688793f738a61b7f

See more details on using hashes here.

File details

Details for the file minimal_pba_cli_plugin_example-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for minimal_pba_cli_plugin_example-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2b969f547cf14e25463d962c60d7d202234802b3cf1f1cf9e278efb7d371796d
MD5 eeefa4db6b66e05ab90783fcfc7fa286
BLAKE2b-256 65d86bb66b91e9b4b80e5cd26af8abb438a9d9572cdef83d9da212fe9b74664d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page