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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: backend.ai-cli-22.3.10.tar.gz
  • Upload date:
  • Size: 6.8 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.10.tar.gz
Algorithm Hash digest
SHA256 0df82b913249d9abc99cf139808ae7642029e1cd49514b6feaf4ae99b5679883
MD5 190097417961c5a26b0249f838fbe75c
BLAKE2b-256 00b7ee27a1983ba7be9110a6932064ba1f453faeef6d43207a5e85f00511631c

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for backend.ai_cli-22.3.10-py3-none-any.whl
Algorithm Hash digest
SHA256 4f484d5c35198c8267d7c520574f647b65ce165b5827a1540e51ae51e1c8419b
MD5 810c0e996aaf01888ba0738c3a32e102
BLAKE2b-256 6af80dfacf41ad0e61e6597e4ff3ca9c72103597de31411e39df408025577150

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