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.4rc1.tar.gz (6.6 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-22.3.4rc1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file backend.ai-cli-22.3.4rc1.tar.gz.

File metadata

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

File hashes

Hashes for backend.ai-cli-22.3.4rc1.tar.gz
Algorithm Hash digest
SHA256 17a5bf0ced54e5ea6500944ad5c768cfd41a1a201b6785ad7312ae2ae372220b
MD5 59f8f3f778f88d7c5fad5d9ecf43c880
BLAKE2b-256 f75a824bc04e7a1ea19ce673fe8d669d428c43ed0920b0aa6d86a46df8f1ba0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for backend.ai_cli-22.3.4rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 5de8e2e3a33d447909230ab0b6d14315e35b5eb50b416eb3bb022d2f46b37053
MD5 e4b69d0ea3ba49944612b4225eb28686
BLAKE2b-256 902fed64b482e50b82df2ae5e709358e091ca661c85f4323843fd86dc62fda4d

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