worktree-tool
Version:
A command-line tool for managing Git worktrees with integrated tmux/shell session management
26 lines • 1.11 kB
TypeScript
/**
* Execute a tmux command and return the output
* @param args The tmux command arguments
* @param errorMessage The error message to use if the command fails
* @returns The stdout output from the command
*/
export declare function executeTmuxCommand(args: string[], errorMessage: string): Promise<string>;
/**
* Execute a tmux command silently (no error thrown)
* @param args The tmux command arguments
* @returns True if successful, false otherwise
*/
export declare function executeTmuxCommandSilent(args: string[]): Promise<boolean>;
/**
* Execute a tmux command without capturing output
* @param args The tmux command arguments
* @param errorMessage The error message to use if the command fails
*/
export declare function executeTmuxCommandVoid(args: string[], errorMessage: string): Promise<void>;
/**
* Check if a tmux object exists (session, window, pane)
* @param checkArgs The tmux arguments to check existence
* @returns True if exists, false otherwise
*/
export declare function tmuxObjectExists(checkArgs: string[]): Promise<boolean>;
//# sourceMappingURL=tmux-wrapper.d.ts.map