Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
✨ NoneBot2 命令行工具 ✨
文档 · 安装 · NoneBot 文档
完整使用文档请参考 文档。
使用 pipx 安装
pipx install nb-cli
使用 Docker 运行
docker pull nonebot/nb-cli:latest
Docker 镜像可以选择以下版本:
latest
, latest-slim
:最新的稳定版本latest-${python版本}
, latest-${python版本}-slim
:指定 Python 版本的最新稳定版本${cli版本}
, ${cli版本}-slim
:指定 CLI 版本的最新稳定版本${cli版本}-${python版本}
, ${cli版本}-${python版本}-slim
:指定 CLI 和 Python 版本的最新稳定版本nb --help
Warning
如果找不到
nb
命令,请尝试pipx ensurepath
来添加路径到环境变量
nb create (init)
创建新的 NoneBot 项目nb run
在当前目录启动 NoneBotnb generate
在当前目录生成启动脚本nb driver
管理驱动器nb plugin
管理插件nb adapter
管理适配器nb self
管理 CLI 内部环境nb <script>
运行脚本Docker 镜像使用
docker run --rm -it -v ./:/workspaces nonebot/nb-cli:latest --help
挂载当前目录到容器的 /workspaces
目录,然后在容器中运行 nb
命令。
nb
Docker 镜像使用
docker run --rm -it -v ./:/workspaces nonebot/nb-cli:latest
生成模板
pdm run extract
初始化语言翻译文件或者更新现有语言翻译文件
pdm run init en_US
更新语言翻译文件
pdm run update
编译语言翻译文件
pdm run compile
FAQs
CLI for nonebot2
We found that nb-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.