ccgwz
Version:
Claude Code Git Worktree Zellij - CLI tool for parallel development with git worktrees and Claude Code in zellij panes
27 lines • 1.44 kB
TypeScript
import type { Config } from '../types/index.js';
export declare const DEFAULT_CONFIG: Config;
export declare const CONFIG_FILES: readonly ["./ccgwz.yaml", "~/.config/ccgwz/config.yaml", "~/.ccgwz.yaml"];
export declare const ZELLIJ_COMMANDS: {
readonly LIST_SESSIONS: "zellij list-sessions";
readonly NEW_TAB: (name: string) => string;
readonly NEW_PANE_RIGHT: "zellij action new-pane -d right";
readonly NEW_PANE_DOWN: "zellij action new-pane -d down";
readonly MOVE_FOCUS_UP: "zellij action move-focus up";
readonly RUN_COMMAND: (cwd: string, command: string) => string;
};
export declare const GIT_COMMANDS: {
readonly IS_REPO: "git rev-parse --is-inside-work-tree";
readonly GET_PROJECT_NAME: "git remote get-url origin";
readonly GET_CURRENT_BRANCH: "git branch --show-current";
readonly CREATE_WORKTREE: (path: string, branch: string) => string;
readonly LIST_WORKTREES: "git worktree list";
};
export declare const ERROR_MESSAGES: {
readonly NOT_GIT_REPO: "Current directory is not a git repository";
readonly ZELLIJ_NOT_RUNNING: "Zellij is not running. Please start zellij first";
readonly INVALID_PANE_COUNT: "Pane count must be between 1 and 10";
readonly WORKTREE_EXISTS: "Worktree directory already exists";
readonly BRANCH_EXISTS: "Branch already exists";
readonly CLAUDE_NOT_FOUND: "Claude Code command not found";
};
//# sourceMappingURL=constants.d.ts.map