worktree-tool
Version:
A command-line tool for managing Git worktrees with integrated tmux/shell session management
17 lines • 656 B
TypeScript
/**
* Get list of shell processes with working directory in the worktree
*/
export declare function getShellProcessesInDirectory(directory: string): Promise<number[]>;
/**
* Find and terminate shell processes in a worktree directory
*/
export declare function terminateShellProcessesInDirectory(directory: string): Promise<void>;
/**
* Check if current process is in a worktree directory
*/
export declare function isCurrentProcessInWorktree(worktreePath: string): boolean;
/**
* Change current directory to main worktree
*/
export declare function changeToMainWorktree(mainWorktreePath: string): void;
//# sourceMappingURL=process-cleanup.d.ts.map