pub fn parse_worktree_add(
command: &str,
cwd: &Path,
) -> Option<(String, Option<String>)>Expand description
Parse git worktree add command.
Extracts path and optional branch from commands like:
git worktree add ../foo-issue-42git worktree add ../foo -b fix/issue-42git worktree add -f /path/to/worktree