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 Distribution

backend.ai-cli-23.3.4.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

backend.ai_cli-23.3.4-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file backend.ai-cli-23.3.4.tar.gz.

File metadata

  • Download URL: backend.ai-cli-23.3.4.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for backend.ai-cli-23.3.4.tar.gz
Algorithm Hash digest
SHA256 c960e07e89c6fb42a26f975f5a9d8108710afc407c502309a2a0c331b1310439
MD5 2051fcb39e54db4c3b0285e332212572
BLAKE2b-256 d5079038069e0d39265433fc4c6536673fd968b9b53dc10d1ee7ac6d03af4a8c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for backend.ai_cli-23.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e97767695ae778dea9851bd1c5ebd29092c1eb76e6d678917abee3be993dd09b
MD5 fcde5cf3de4af7857f9b53249873d0f4
BLAKE2b-256 ac2797f06a78ac4544f6d737fae2c688b87cb709ee54b88428369f44f8c9e57f

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