文档 | 安装 | KiramiBot 文档
功能
- 创建新的 KiramiBot 项目
- 启动 KiramiBot
- 管理插件
- 创建新的插件
- 搜索/安装/更新/卸载在官方商店上发布的插件
- 管理适配器
- 创建新的适配器
- 搜索/安装/更新/卸载在官方商店上发布的适配器
- 管理驱动器
- 搜索/安装/更新/卸载在官方商店上发布的驱动器
- 从 NoneBot2 迁移到 KiramiBot
- 支持 CLI 插件和运行脚本
使用
完整使用文档请参考 文档。
安装
使用 pipx 安装
pipx install kirami-cli
命令行使用
kirami --help
Warning
如果找不到
kirami命令,请尝试pipx ensurepath来添加路径到环境变量
kirami create (init)创建新的 KiramiBot 项目kirami run在当前目录启动 KiramiBotkirami driver管理驱动器kirami plugin管理插件kirami adapter管理适配器kirami self管理 CLI 内部环境kirami migrate从 NoneBot2 迁移到 KiramiBotkirami <script>运行脚本
交互式使用
kirami
开发
翻译
生成模板
pdm run extract
初始化语言翻译文件或者更新现有语言翻译文件
pdm run init en_US
更新语言翻译文件
pdm run update
编译语言翻译文件
pdm run compile
许可证
本项目原始代码来自 NB CLI,以相同的许可证发布。
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kirami_cli-0.1.1.tar.gz
(34.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kirami_cli-0.1.1.tar.gz.
File metadata
- Download URL: kirami_cli-0.1.1.tar.gz
- Upload date:
- Size: 34.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.9.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c8ee82f1dd8f16837f18aca38dacf9f0d4975511c9305e464d7d9cf143882b8
|
|
| MD5 |
bd06393516ed939bb235161dda110c1f
|
|
| BLAKE2b-256 |
8cb22a39de9ddacab3f04621d841915dbadedd2ce6b9166602daa6987eaf2277
|
File details
Details for the file kirami_cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: kirami_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 55.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.9.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7e4da18f06c56cced56895ba83f0f9a673222ba3ea39e79de0ccb575ce3d611
|
|
| MD5 |
8d76de16d7a06d788647dfa231178f47
|
|
| BLAKE2b-256 |
0ebb99dd334a4b4568427c5503b045e71e3593ceb722e6962a969345f7078b4a
|