Skip to content

Add handling of multiple repos with same name in different locations #6

@evanthegrayt

Description

@evanthegrayt

Assuming the following:

CDC_DIRS=(dir1 dir2)
cdc repo

and the following directories both exist

dir1/repo
dir2/repo

We need to ask the user which one to cd to. Currently, it will just cd to the first instance it finds.

We should gather existing directories in an array, and if the array's size is > 1, prompt the user. Consider using the select command.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions