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
Built Distribution
File details
Details for the file backend.ai-cli-23.9.0a1.tar.gz
.
File metadata
- Download URL: backend.ai-cli-23.9.0a1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7816ffad02d7840218174c778c7fbc1c6e9a6ecbba6c1a4953e1dfc956cd39d0 |
|
MD5 | c6520c0c39b30c57842bb301e4829be1 |
|
BLAKE2b-256 | 8e5d305ee5a3266cdca5805bf8ba08d3a0842770d943907445468c156f653ee9 |
Provenance
File details
Details for the file backend.ai_cli-23.9.0a1-py3-none-any.whl
.
File metadata
- Download URL: backend.ai_cli-23.9.0a1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49d45f1897fc40410a8d9211b92cfeec1b87b965c78985a856e33661524fcd2d |
|
MD5 | 138854493cf5a44850da021756adacf5 |
|
BLAKE2b-256 | e60d3fcea92b8d21ee55f986e52677dbe075d82c8a31ea4c5760034854475ca8 |