Skip to main content

CLI for KiramiBot

Project description

KiramiCLI

✨ KiramiBot 命令行工具 ✨

license pypi python black pyright ruff
pre-commit pyright ruff

文档   |   安装   |   KiramiBot 文档

功能

  • 创建新的 KiramiBot 项目
  • 启动 KiramiBot
  • 管理插件
    • 创建新的插件
    • 搜索/安装/更新/卸载在官方商店上发布的插件
  • 管理适配器
    • 创建新的适配器
    • 搜索/安装/更新/卸载在官方商店上发布的适配器
  • 管理驱动器
    • 搜索/安装/更新/卸载在官方商店上发布的驱动器
  • 从 NoneBot2 迁移到 KiramiBot
  • 支持 CLI 插件和运行脚本

使用

完整使用文档请参考 文档

安装

使用 pipx 安装

pipx install kirami-cli

命令行使用

kirami --help

Warning

如果找不到 kirami 命令,请尝试 pipx ensurepath 来添加路径到环境变量

  • kirami create (init) 创建新的 KiramiBot 项目
  • kirami run 在当前目录启动 KiramiBot
  • kirami driver 管理驱动器
  • kirami plugin 管理插件
  • kirami adapter 管理适配器
  • kirami self 管理 CLI 内部环境
  • kirami migrate 从 NoneBot2 迁移到 KiramiBot
  • kirami <script> 运行脚本

交互式使用

kirami

开发

翻译

生成模板

pdm run extract

初始化语言翻译文件或者更新现有语言翻译文件

pdm run init en_US

更新语言翻译文件

pdm run update

编译语言翻译文件

pdm run compile

许可证

本项目原始代码来自 NB CLI,以相同的许可证发布。

Project details


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)

Uploaded Source

Built Distribution

kirami_cli-0.1.1-py3-none-any.whl (55.9 kB view details)

Uploaded Python 3

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

Hashes for kirami_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3c8ee82f1dd8f16837f18aca38dacf9f0d4975511c9305e464d7d9cf143882b8
MD5 bd06393516ed939bb235161dda110c1f
BLAKE2b-256 8cb22a39de9ddacab3f04621d841915dbadedd2ce6b9166602daa6987eaf2277

See more details on using hashes here.

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

Hashes for kirami_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c7e4da18f06c56cced56895ba83f0f9a673222ba3ea39e79de0ccb575ce3d611
MD5 8d76de16d7a06d788647dfa231178f47
BLAKE2b-256 0ebb99dd334a4b4568427c5503b045e71e3593ceb722e6962a969345f7078b4a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page