worktree-tool
Version:
A command-line tool for managing Git worktrees with integrated tmux/shell session management
15 lines • 704 B
TypeScript
import { CommandContext, CommandOptions } from "../core/types.js";
export type { CommandContext, CommandOptions };
export declare abstract class BaseCommand<TOptions extends CommandOptions = CommandOptions> {
protected abstract validateOptions(options: TOptions): void;
protected abstract executeCommand(options: TOptions, context: CommandContext): Promise<void>;
protected requiresConfig(): boolean;
protected requiresGitRepo(): boolean;
protected requiresCommits(): boolean;
/**
* Whether to show verbose status messages during execution
*/
protected showVerboseStatus(): boolean;
execute(options: TOptions): Promise<void>;
}
//# sourceMappingURL=base.d.ts.map