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.2.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

anaconda_cli_base-0.2.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for anaconda_cli_base-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a67b0e899e0bc8cade201a6bf13cf8425e96266c67323f50f64ddee40e960ad5
MD5 87a8ea1403a17f0b938fd152a089cb6f
BLAKE2b-256 e8267a34296b03e453ac3a08d5de7e834f6580c886afeb5e39db64b3d177e67e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anaconda_cli_base-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 705a92a5910e832688a66fcf4cdb2bd487a8d41675642bdc86a5a14c9690bb86
MD5 75f1acf689927094faa2d2dbfc1e1b03
BLAKE2b-256 939a0d90ce2fe9ada92bd3c31a0ef82d0826def6a24a520c5fc6135da78eacc6

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