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.11.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for backend.ai_cli-22.3.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21de97dd08a61fb1e1aa5489277e1f8801a3f664f91a5a0aeb1244879c3336c4 |
|
MD5 | 3abd55d80c01cea14f9ca34729a5bb94 |
|
BLAKE2b-256 | 824867f14b246ec6d3f5eb27b3430265047e0d236ca288e0a19fb71effd910e0 |