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

Uploaded Source

Built Distribution

anaconda_cli_base-0.1.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: anaconda_cli_base-0.1.0.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

Hashes for anaconda_cli_base-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d08c31755952b0a5c267a80f229e9205d0ad8527020629ab2394e367372302d6
MD5 eb2ef3baab42e676d36016ebb43ae57b
BLAKE2b-256 ea581ae13e2fe0690ba3bb7cc1366606699c0584201164d2a3dd0ada6d7b07b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for anaconda_cli_base-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1486482c41f2a3619efed3ab5788c16eb1171faf2ca2b07967162b7949e86f1c
MD5 609546e2fd5c8efe967b296f22660c79
BLAKE2b-256 a817bc2192148e95187e1133d0cbcef1504785d92405d68a7a24f02472e65c47

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