You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mcs stands for "Maven Central Search", it's a bit odd to type mcs search foo. It would be great if one could type mcs foo and MCS would know it's supposed to run the "search" command with "foo" as a parameter.
Given the ideas for further development, it's important to take into account that later, mcs may have more than one command. Imagine there's a copy command, it's important to distinguish between mcs search foo and mcs copy. The latter is notmcs search copy but mcs copy (probably with a missing parameter, who knows?)
The text was updated successfully, but these errors were encountered:
+1 for this. For the problem of disambiguation, I can think of 2 solutions:
Keep supporting mcs search so users typing mcs copy would see an error and could fallback to the longer form mcs search copy if that was the original intent
Use different command names: mcs for search, mcc for copy or maby mccli (or mcli) for a generic longer form "cli", mcs being the quick command.
As
mcs
stands for "Maven Central Search", it's a bit odd to typemcs search foo
. It would be great if one could typemcs foo
and MCS would know it's supposed to run the "search" command with "foo" as a parameter.Given the ideas for further development, it's important to take into account that later,
mcs
may have more than one command. Imagine there's acopy
command, it's important to distinguish betweenmcs search foo
andmcs copy
. The latter is notmcs search copy
butmcs copy
(probably with a missing parameter, who knows?)The text was updated successfully, but these errors were encountered: