Override module name to clone repositories with the same name
tomlankhorst opened this issue · 3 comments
tomlankhorst commented
It would be nice to have an additional optional argument for modman clone
such as:
modman clone <repo-url> (<repo-name>)
This will enable us to clone repositories that bear the same name ('magento' for example).
colinmollenhour commented
This is already the current behavior except the order of arguments is backwards.
modman clone <repo-url> # uses module name from repo url
modman clone <module-name> <repo-url>
tomlankhorst commented
You are right and let me thank you a lot for your effort! My suggestion
would be to add optional arguments like these to the built in help text.
…On Mon, 27 Nov 2017 at 18:38, Colin Mollenhour ***@***.***> wrote:
This is already the current behavior except the order of arguments is
backwards.
modman clone <repo-url> # uses module name from repo url
modman clone <module-name> <repo-url>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#130 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AApOaGm0aF8l6yU-OEQ7uTb41THCl8V8ks5s6vNHgaJpZM4QqhSH>
.
colinmollenhour commented
It is documented in a way using somewhat standard conventions:
Module Commands:
modman <command> [<module>] [<options>] [[--] <VCS options>]
In your case <command>
is 'clone' and [<module>]
is the optional (as denoted by []) specification of a module name and [<options>]
is the command options which in the case of 'clone' is the repo url. But I'll concede that it is not obvious. :)