CLI for KiramiBot
Project description
KiramiCLI
✨ KiramiBot 命令行工具 ✨
文档 | 安装 | 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,以相同的许可证发布。
Project details
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
kirami_cli-0.1.1-py3-none-any.whl
(55.9 kB
view hashes)
Close
Hashes for kirami_cli-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7e4da18f06c56cced56895ba83f0f9a673222ba3ea39e79de0ccb575ce3d611 |
|
MD5 | 8d76de16d7a06d788647dfa231178f47 |
|
BLAKE2b-256 | 0ebb99dd334a4b4568427c5503b045e71e3593ceb722e6962a969345f7078b4a |