@lark-project/cli
Version:
飞书项目插件开发工具
16 lines (15 loc) • 553 B
TypeScript
interface InitDraftOptions {
from?: string;
to?: string;
format?: 'text' | 'json';
}
/**
* Initialize a draft from the remote snapshot in one atomic command.
*
* Why this shape:
* - The critical mistake weak AI makes is "直接改 remote.json 或忘了 cp 就 patch"。
* 把 `cp remote.json draft-<ts>.json` 合成一条 CLI,让这步不再是 shell 判断题。
* - Output the draft path on stdout so the next peek / patch-json call can pipe it in.
*/
export declare function initDraft(opts: InitDraftOptions): void;
export {};