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-24.3.7.tar.gz
(9.3 kB
view hashes)
Built Distribution
Close
Hashes for backend.ai_cli-24.3.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a35d2f9c3d4c1e45057d2101b9ca03ffb585f49241c33faf04cf10ebe69fa066 |
|
MD5 | 4a204e66e10f78c1f84aebf8388ad381 |
|
BLAKE2b-256 | 46ef2bfeb8b51929b308bdfdd4e414e0849e06f9c34be789154eb82d08028c3e |