backend.ai-cli-後端.AI命令行界面-Lablup Inc. How to adopt in CLI-enabled Backend.AI packages

backend.ai-cli-後端.AI命令行界面-Lablup Inc.

發佈:2020-12-22 19:23:53.906819

做者:Lablup Inc.

### 做者郵箱:joongi@lablup.com

### 首頁:https://backend.ai

### 文檔:None

### 下載連接 

# 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:ui

[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.spa

Then add backend.ai-cli to the install_requires list..net

You can do the same in setup.py as well.命令行

Copy from pypi.org

查詢時間:5.395ms
渲染時間:5.519ms

本文同步分享在 博客「zhenruyan」(other)。
若有侵權,請聯繫 support@oschina.cn 刪除。
本文參與「OSC源創計劃」,歡迎正在閱讀的你也加入,一塊兒分享。code

相關文章
相關標籤/搜索