UNPKG

@lark-project/cli

Version:

飞书项目插件开发工具

17 lines (16 loc) 777 B
import { AppType } from "../../../types"; export interface IConfigOnlyOptions { pluginId: string; pluginSecret: string; siteDomain: string; appType: AppType; } /** * 为"后端代码在独立仓、没有 plugin.config.json"的开发者建一个 config-only 工作区: * 只写一份最小 plugin.config.json(身份 + app_type + 空 resources),不铺前端代码、不装依赖。 * 之后 `lpm local-config get/set` / `perm` / `update` 都能在它里面跑。 * * 目录名固定为 `meegle-plugin-config`(不接受自定义),让 skill 的 `lpm check context` * 能稳定识别它。幂等:已存在合法 handle 时复用、不覆盖。 */ export declare function initConfigOnlyProject(options: IConfigOnlyOptions, cwd?: string): void;