Metadata-Version: 2.1
Name: backend.ai-cli
Version: 0.6.0
Summary: Backend.AI Command Line Interface
Home-page: https://backend.ai
Author: Lablup Inc.
Author-email: joongi@lablup.com
License: MIT
Project-URL: Documentation, https://docs.backend.ai
Project-URL: Source, https://github.com/lablup/backend.ai-cli
Project-URL: Tracker, https://github.com/lablup/backend.ai/issues
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Operating System :: POSIX
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Environment :: No Input/Output (Daemon)
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click (~=8.0.1)
Requires-Dist: importlib-metadata ; python_version < "3.8"
Provides-Extra: build
Requires-Dist: wheel (>=0.37.1) ; extra == 'build'
Requires-Dist: twine (>=3.8.0) ; extra == 'build'
Provides-Extra: dev
Requires-Dist: towncrier (~=21.9) ; extra == 'dev'
Provides-Extra: lint
Requires-Dist: flake8 (>=4.0.1) ; extra == 'lint'
Provides-Extra: test
Requires-Dist: pytest (>=7.1.0) ; extra == 'test'
Requires-Dist: pytest-cov ; extra == 'test'
Requires-Dist: pytest-mock ; extra == 'test'
Requires-Dist: codecov ; extra == 'test'
Provides-Extra: typecheck
Requires-Dist: mypy (>=0.940) ; extra == 'typecheck'
Requires-Dist: types-click ; extra == 'typecheck'

# 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.


