for every project a new command is created and added to the path. They all do the same thing. Is it possible to just use cdd-worktree.sh and depending on what git repo/branch/worktree I'm in then id does what's supposed to do? I think one of the problems is that this would require CDD repo to be always available. Also how to handle version differences of this command in different projects? If this is not easily solvable or if there are more things I haven't taken into account, I'm fine leaving this as it is and close this issue.
for every project a new command is created and added to the path. They all do the same thing. Is it possible to just use cdd-worktree.sh and depending on what git repo/branch/worktree I'm in then id does what's supposed to do? I think one of the problems is that this would require CDD repo to be always available. Also how to handle version differences of this command in different projects? If this is not easily solvable or if there are more things I haven't taken into account, I'm fine leaving this as it is and close this issue.