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.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac4ceb2b092b72f77c1e48365de36a619dc87c12e7bd7a89df399fe8e1b99d33 |
|
MD5 | f7b06e34ee1346d00c679f83b1a14865 |
|
BLAKE2b-256 | 629cbb04041bf1710cbafa167bcbb4d054a63ce268d9c24813cc698f662e9b69 |
Close
Hashes for anaconda_cli_base-0.1.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2decdcee61de965bfc027113c4fe9bfe74fb78083fa1e31a40efc8e5d6c9e811 |
|
MD5 | 62a28f185ea57a72a383e79ade8f30e4 |
|
BLAKE2b-256 | 3fbb1c6dbf5d15d39226ab7f68964bb29f0aa9feab3fc914e92c04a393bd7cdc |