worktree-tool
Version:
A command-line tool for managing Git worktrees with integrated tmux/shell session management
20 lines • 627 B
TypeScript
import { Command } from "commander";
import { CreateOptions } from "../core/types.js";
/**
* Sanitize worktree name for git branch compatibility
* Git branch names cannot contain certain characters
*/
export declare const sanitizeWorktreeName: (name: string) => string;
/**
* Validate create command options
*/
export declare function validateCreateOptions(options: CreateOptions): void;
/**
* Execute the create command
*/
export declare function executeCreate(options: CreateOptions): Promise<void>;
/**
* Create the create command
*/
export declare const createCommand: Command;
//# sourceMappingURL=create.d.ts.map