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.9.8rc3.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

backend.ai_cli-23.9.8rc3-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file backend.ai-cli-23.9.8rc3.tar.gz.

File metadata

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

File hashes

Hashes for backend.ai-cli-23.9.8rc3.tar.gz
Algorithm Hash digest
SHA256 37debbf6767c5069f86d4bbb0279b3f1ecad5a523da34b50e4b685cb6b0e3803
MD5 e784abd2fa3829c3a804c975c42504fa
BLAKE2b-256 81b92e0c681cc5fc65b20f4afb8ce96daecf01211ab571bed0213374da88e5eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for backend.ai_cli-23.9.8rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 79a1d51d05c211e885e0c2f5ed029de46a81226b1aecdef35bd1de97d8e9c232
MD5 0e856c333d664ceb2d3a4a234f8cc162
BLAKE2b-256 e580dbcfc9e1b7e1ed809ceac8d654730c7a0f3b7c3ba2f5c70ca3951984bf36

See more details on using hashes here.

Supported by

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