Skip to content

Possibility to cut parts of the target subdirectory tree #14

@Tyrben

Description

@Tyrben

I see that the vendor sources are stored under vendor/github.com/brettlangdon/forge (if I retake from the example).
The related source code is:

dir="$prefix/$(echo "$repository" | sed -E 's/^[a-zA-Z]+((:\/\/)|@)//' | sed 's/:/\//' | sed -E 's/\.git$//')"

Would it be possible to inhibate or control it to obtain something shorter like (as will):
vendor/forge
?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions