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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: backend_ai_cli-24.9.1rc1.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.1rc1.tar.gz
Algorithm Hash digest
SHA256 58d7741f88c5a48503be5ada7c8ae778749328d1a008e7c6474e0e7ab2071de1
MD5 3e39a525db2067330d253d93b72727d8
BLAKE2b-256 780cec47d3a9497ad7d5a01ed376463f07c8df29777eb88968a9fbda8c1d4047

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for backend.ai_cli-24.9.1rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 30462debde0ca4a9855e4c49619a0a2f6d0dd406182be7ac0fdd4d327d80a643
MD5 a077eb3b0055a12e620cfddaa2ebb0b1
BLAKE2b-256 a06d40270f84040e120cc70723f2936c19c510113162a62b6ff7576da491aabd

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