UNPKG

@shutootaki/gwm

Version:
16 lines 524 B
interface UseWorktreeOptions { fromBranch?: string; openCode?: boolean; openCursor?: boolean; outputPath?: boolean; onSuccess?: (data: { path: string; actions: string[]; }) => void; onError?: (message: string) => void; } export declare function useWorktree({ fromBranch, openCode, openCursor, outputPath, onSuccess, onError, }: UseWorktreeOptions): { createWorktree: (branch: string, isRemote: boolean) => Promise<void>; }; export {}; //# sourceMappingURL=useWorktree.d.ts.map