# 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/lablup/backend.ai",
"name": "backend.ai-cli",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.13,>=3.12",
"maintainer_email": null,
"keywords": null,
"author": "Lablup Inc. and contributors",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/a8/eb/ba2555936f1bb0c732aa1e70e9cb7d5eb12e0efe2fceac6f001071265fa7/backend.ai-cli-24.3.3.tar.gz",
"platform": null,
"description": "# backend.ai-cli\n\nUnified command-line interface for Backend.AI\n\n\n## How to adopt in CLI-enabled Backend.AI packages\n\nAn example `setup.cfg` in Backend.AI Manager:\n```\n[options.entry_points]\nbackendai_cli_v10 =\n mgr = ai.backend.manager.cli.__main__:main\n mgr.start-server = ai.backend.gateway.server:main\n```\n\nDefine your package entry points that returns a Click command group using a\nprefix, and add additional entry points that returns a Click command using a\nprefix followed by a dot and sub-command name for shortcut access, under the\n`backendai_cli_v10` entry point group.\n\nThen add `backend.ai-cli` to the `install_requires` list.\n\nYou can do the same in `setup.py` as well.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Backend.AI Command Line Interface Helper",
"version": "24.3.3",
"project_urls": {
"Documentation": "https://docs.backend.ai/",
"Homepage": "https://github.com/lablup/backend.ai",
"Source": "https://github.com/lablup/backend.ai"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6897768d6507c855f1a8c944391180d668416839de8b6c66f6736d72b971a324",
"md5": "f20fff18d3ec08e531cfb26e507c2d1b",
"sha256": "f67dd5eb24e78a0b9ce2075940fd51d0ace526f4e6a98588cc4c0ef4fb2363a6"
},
"downloads": -1,
"filename": "backend.ai_cli-24.3.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f20fff18d3ec08e531cfb26e507c2d1b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.13,>=3.12",
"size": 10196,
"upload_time": "2024-04-30T16:57:40",
"upload_time_iso_8601": "2024-04-30T16:57:40.865672Z",
"url": "https://files.pythonhosted.org/packages/68/97/768d6507c855f1a8c944391180d668416839de8b6c66f6736d72b971a324/backend.ai_cli-24.3.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a8ebba2555936f1bb0c732aa1e70e9cb7d5eb12e0efe2fceac6f001071265fa7",
"md5": "10c29e091a5826bcca6d4aa963fbd355",
"sha256": "506cc235319782fa3dace2a4f141f22a2a48caba84fd40a21be49d36eea6f9c9"
},
"downloads": -1,
"filename": "backend.ai-cli-24.3.3.tar.gz",
"has_sig": false,
"md5_digest": "10c29e091a5826bcca6d4aa963fbd355",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.13,>=3.12",
"size": 9262,
"upload_time": "2024-04-30T16:58:22",
"upload_time_iso_8601": "2024-04-30T16:58:22.027221Z",
"url": "https://files.pythonhosted.org/packages/a8/eb/ba2555936f1bb0c732aa1e70e9cb7d5eb12e0efe2fceac6f001071265fa7/backend.ai-cli-24.3.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-30 16:58:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "lablup",
"github_project": "backend.ai",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "backend.ai-cli"
}