Skip to main content

Backend.AI Command Line Interface Helper

Project description

backend.ai-cli

Unified command-line interface for Backend.AI

How to adopt in CLI-enabled Backend.AI packages

An example setup.cfg in Backend.AI Manager:

[options.entry_points]
backendai_cli_v10 =
    mgr = ai.backend.manager.cli.__main__:main
    mgr.start-server = ai.backend.gateway.server:main

Define your package entry points that returns a Click command group using a prefix, and add additional entry points that returns a Click command using a prefix followed by a dot and sub-command name for shortcut access, under the backendai_cli_v10 entry point group.

Then add backend.ai-cli to the install_requires list.

You can do the same in setup.py as well.

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

backend.ai_cli-24.3.3rc3-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file backend.ai_cli-24.3.3rc3-py3-none-any.whl.

File metadata

File hashes

Hashes for backend.ai_cli-24.3.3rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 98197b8c609dd7403750b4fa2ea2e94d78de2bd039e7627a36d17939bc1c6b96
MD5 a034890bb22757d4c701000f512a7cf9
BLAKE2b-256 57808564d30e1fbf8d39e6649e2e3ab7fc3eaaf061719edc50857cfdf4e1a013

See more details on using hashes here.

Provenance

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