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
File details
Details for the file anaconda_cli_base-0.1.0a2.tar.gz
.
File metadata
- Download URL: anaconda_cli_base-0.1.0a2.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0507cf8476bd9b9d92379a27abcbdf6fbe2efae4093bd863b4ee4894face0922 |
|
MD5 | 4a7cc4c3d4202cf5c092267e63a035f0 |
|
BLAKE2b-256 | 1ac00b08820eadf0205f627276b5e905b85c7095b6370712f00472f73cdc5578 |
File details
Details for the file anaconda_cli_base-0.1.0a2-py3-none-any.whl
.
File metadata
- Download URL: anaconda_cli_base-0.1.0a2-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35f481fdcf50624f5a576eac1a9e4018e0e0d50da43313f2d34b721b7fd31f65 |
|
MD5 | 0d98c9f6b1c07ad307a697b800bae05e |
|
BLAKE2b-256 | 645958c9ce5085deeafb24c09293b906d6b4963795dbe23e84892179d48d0c2f |