There should be a way to specify that exactly two arguments are required:
git remote add <name> <url>
Currently, this must be done as List<String>, which requires the user code to do the min/max checking, and doesn't allowing mixed types, such as String and URI.
There should be a way to specify that exactly two arguments are required:
git remote add <name> <url>
Currently, this must be done as
List<String>
, which requires the user code to do the min/max checking, and doesn't allowing mixed types, such asString
andURI
.