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-24.9.0rc1.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

backend.ai_cli-24.9.0rc1-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file backend_ai_cli-24.9.0rc1.tar.gz.

File metadata

  • Download URL: backend_ai_cli-24.9.0rc1.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for backend_ai_cli-24.9.0rc1.tar.gz
Algorithm Hash digest
SHA256 b995359f5f5a1b8d15942123da8c2a7d30972211b8f9d6e8f1584747be051ee3
MD5 5ecd53b35e924512f940765233d55b32
BLAKE2b-256 702e8be5299cc52ac5e5131232ee3e775478bde8931ef007659944d746fa1d10

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for backend.ai_cli-24.9.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 335484dd8dddc0d99c463a9491f772503541f8acedfea180f7d5601a626daa99
MD5 3019a959d1799316f1d2156734b3f5f0
BLAKE2b-256 cd38c2b4b3d0900eed15e113b815f1fc95583b38a9662ff7e11f34b2cb7adc9c

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