feat: 新增脚手架/开发模式/权限白名单/system-monitor插件
- nebula create mod/key/list-templates 模组脚手架 - nebula dev 开发模式热重载 - manifest permissions.imports 权限白名单机制 - system-monitor 系统监控仪表盘插件 - 默认端口统一为 10086 - 修复 _init_nbpf 误读 Ed25519 私钥为 RSA 的 bug - 更新 README.md 文档
This commit is contained in:
24
oss/templates/mod/README.md
Normal file
24
oss/templates/mod/README.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# @{{ author }}/{{ mod_name }}
|
||||
|
||||
{{ description }}
|
||||
|
||||
## 安装
|
||||
|
||||
将 `{{ mod_name }}.nbpf` 放入 NebulaShell 的 `mods/` 目录即可。
|
||||
|
||||
## 开发
|
||||
|
||||
```bash
|
||||
# 安装依赖
|
||||
pip install -r requirements.txt
|
||||
|
||||
# 打包
|
||||
nebula nbpf pack ./{{ mod_name }} -o {{ mod_name }}.nbpf \
|
||||
--ed25519-key ./keys/ed25519.pem \
|
||||
--rsa-key ./keys/rsa.pem \
|
||||
--signer "{{ author }}"
|
||||
```
|
||||
|
||||
## 许可证
|
||||
|
||||
MIT
|
||||
Reference in New Issue
Block a user