Skip to main content

Backend.AI Command Line Interface

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: backend.ai-cli-0.6.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for backend.ai-cli-0.6.0.tar.gz
Algorithm Hash digest
SHA256 4ac3ce9b25c7f3bcacea21d2035a0318c2e0d8876d0d065a548e0e0e712cf065
MD5 e0d9cc84d318b9ec0ae11d00911b9d4c
BLAKE2b-256 099ef00b724ae3b621636e957a972c9dea75fabac17106c7e7cf98ab1cda8ad7

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: backend.ai_cli-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for backend.ai_cli-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e600baa8b7bbde49d32edc8c337561186c7a2db6b7d2eb7a7e8fe4e9577f93bd
MD5 763875a05e07b2dc88725144c0e1db6c
BLAKE2b-256 e10f55be44f14fd4f9414ff527da123d30ce5a759eee38a1f590350cde5e4042

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