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-22.3.11.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

backend.ai_cli-22.3.11-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: backend.ai-cli-22.3.11.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for backend.ai-cli-22.3.11.tar.gz
Algorithm Hash digest
SHA256 bb94c98eef8d52ce2715a04029935fa0c7f72f7e0821b005d4a38f07ea3e42c7
MD5 84cbf91a84be281c78f3d21321d57151
BLAKE2b-256 c21b11a06aea9ce32ab445868ace1f03bb7cfc1930e5bee43276b5ab01126f8d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for backend.ai_cli-22.3.11-py3-none-any.whl
Algorithm Hash digest
SHA256 21de97dd08a61fb1e1aa5489277e1f8801a3f664f91a5a0aeb1244879c3336c4
MD5 3abd55d80c01cea14f9ca34729a5bb94
BLAKE2b-256 824867f14b246ec6d3f5eb27b3430265047e0d236ca288e0a19fb71effd910e0

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