Auth
brkpt auth 命令参考。
brkpt auth init
Section titled “brkpt auth init”在当前项目中初始化 brkpt-auth。
| 参数 | 说明 |
|---|---|
--common |
仅安装 common/ 文件。 |
--module |
仅安装 brkpt-auth.module.ts。 |
brkpt auth add [feature]
Section titled “brkpt auth add [feature]”安装指定功能并将其注册到 features.ts。省略功能名称时会弹出交互式列表供选择。
| 参数 | 说明 |
|---|---|
--driver <names> |
逗号分隔的驱动名称列表。若该功能支持多个驱动且未指定,会弹出交互式列表供选择。 |