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.0a1.tar.gz (7.1 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.3.0a1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file backend.ai-cli-23.3.0a1.tar.gz.

File metadata

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

File hashes

Hashes for backend.ai-cli-23.3.0a1.tar.gz
Algorithm Hash digest
SHA256 414adba0df44df8a217341c933a619f598a90e21bf78f99ec12197233bf92ad5
MD5 b0357cea9894dcf285d8f96fa25298b1
BLAKE2b-256 6100f89c988ab0d61a5fba2a5015a6c5ba32018c7f9a410acab44bf03918cfd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for backend.ai_cli-23.3.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 6cc29d136bcd30e84735b0b6538885928c396620749bb201734f0c70d2341969
MD5 4dd2a874a1825716054b56ef6ed6e1c2
BLAKE2b-256 b5035a1ead1ff0115307b7d22ec00a9a1f8919bc32ebe934cb1ef272e59e26dc

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