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.0.tar.gz
(32.0 kB
view hashes)
Built Distribution
kirami_cli-0.1.0-py3-none-any.whl
(52.1 kB
view hashes)
Close
Hashes for kirami_cli-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05ebf9b3cc091f41c71607a1e8c0810a00066dd13ce60fb463b06664fcb0002c |
|
MD5 | 52559593a278038ee1d76a256eda17d2 |
|
BLAKE2b-256 | db4490fad426884cd911d5a914644dcacb0fdc02e2aff93bdde175fc99577f5f |