A base CLI entrypoint supporting Anaconda CLI plugins
Project description
anaconda-cli-base
A base CLI entrypoint supporting Anaconda CLI plugins
Registering plugins
Subcommands can be registered as follows:
# In pyproject.toml
[project.entry-points."anaconda_cli.subcommand"]
auth = "anaconda_cloud_auth.cli:app"
In the example above:
"anaconda_cloud_cli.subcommand"
is the required string to use for registration. The quotes are important.auth
is the name of the new subcommand, i.e.anaconda auth
anaconda_cloud_auth.cli:app
signifies the object namedapp
in theanaconda_cloud_auth.cli
module is the entry point for the subcommand.
Setup for development
Ensure you have conda
installed.
Then run:
make setup
Run the unit tests
make test
Run the unit tests across isolated environments with tox
make tox
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
Close
Hashes for anaconda_cli_base-0.1.0a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f65f2412f105293c386fc6db77627cbd001dce62c1d9a712086e5d8560d4b0eb |
|
MD5 | 50c9b2fa27202ad440f0ae3fb64c4f28 |
|
BLAKE2b-256 | 7bd026eaa8b37d5f9f9e6938781ce069704d9c286428604b1a950a76a1ae3575 |
Close
Hashes for anaconda_cli_base-0.1.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b36db098d268a17c33982e9e4ed9e176049255b9bb751cd9b33ec5b9ab0b6323 |
|
MD5 | 7c5e1c0c1c3a343e15aeda7b0605ecdf |
|
BLAKE2b-256 | 326d8c46c26c7848987770096e6a31e8303df0090920233f1911c53285c8dc4d |