https://github.com/aiogram/cli
Command Line Interface
https://github.com/aiogram/cli
Last synced: about 1 month ago
JSON representation
Command Line Interface
- Host: GitHub
- URL: https://github.com/aiogram/cli
- Owner: aiogram
- License: mit
- Created: 2020-05-05T22:09:10.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-31T23:05:47.000Z (12 months ago)
- Last Synced: 2025-04-09T21:26:03.450Z (about 1 month ago)
- Language: Python
- Size: 164 KB
- Stars: 7
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# aiogram-cli (PoC)
Command line interface for developers
Works only with [aiogram](https://github.com/aiogram/aiogram) 3.0+
Here is only bootstrap for CLI interface with extensions based on [pkg_resources](https://setuptools.readthedocs.io/en/latest/pkg_resources.html)
## Installation
### From PyPi
`pip install aiogram-cli` or `pip install aiogram[cli]`## Usage
Just run in terminal `aiogram` and see what you can do with it.
## Example
[](https://asciinema.org/a/5tg0CV7ogvuqQz8ZmHP9CBPjl)
## Writing extensions
Any **aiogram-cli** extension package should provide an entry point like this:
```
[aiogram_cli.plugins]
my_extension = my_package.module:my_command
```Or with poetry like this:
```toml
[tool.poetry.plugins."aiogram_cli.plugins"]
"builtin-about" = "aiogram_cli.about:command_about"
"builtin-plugins" = "aiogram_cli.plugins:command_plugins"
```