Skip to main content

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 named app in the anaconda_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


Download files

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

Source Distribution

anaconda_cli_base-0.3.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

anaconda_cli_base-0.3.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file anaconda_cli_base-0.3.0.tar.gz.

File metadata

  • Download URL: anaconda_cli_base-0.3.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for anaconda_cli_base-0.3.0.tar.gz
Algorithm Hash digest
SHA256 441a907ecd3977e57c6ffa0d4cac66317aa943730a78703fe86019d0496a7c5f
MD5 4dc839d092f49b01501249c1f08fc1cb
BLAKE2b-256 439afe1cfe67734bc7f38d8b6799c835edce7652e85b476d605a37b6e86f436c

See more details on using hashes here.

File details

Details for the file anaconda_cli_base-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for anaconda_cli_base-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6fbec543895af85a94b96e37e488e33880c5a427143847eab1105b87120913ea
MD5 77ab8ce108e98a4fce9ab36f14d4bcec
BLAKE2b-256 0031c5971af29ad5493dc267071295c505f0ac8562ae9451c2e2544162ddb2ab

See more details on using hashes here.

Supported by

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