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
Without ever adding a shortcut for "iamx" because if we search for that artist we get only one artist back. We should allow inferring names by doing a search first and then using the result. More expensive, but we can decide its valid to infer if the input is purely numeric.
So
$ mosh ls artist 1234
We just do what we do now.
$ mosh ls artist iamx
"iamx" can't convert into a number, so we do an artist search. We get one result. We pull out the artist ID and then we search.
If the user provides a search that isn't unique enough just tell them:
$ mosh ls artist quartet
More than one artist matching "quartet" found. Please use an ID:
+-------+------------------------+----------+
| ID | TITLE | SHORTCUT |
+-------+------------------------+----------+
| 31177 | The Section Quartet | |
| 2466 | Vitamin String Quartet | |
+-------+------------------------+----------+
The text was updated successfully, but these errors were encountered:
We should be able to do:
Without ever adding a shortcut for "iamx" because if we search for that artist we get only one artist back. We should allow inferring names by doing a search first and then using the result. More expensive, but we can decide its valid to infer if the input is purely numeric.
So
We just do what we do now.
"iamx" can't convert into a number, so we do an artist search. We get one result. We pull out the artist ID and then we search.
If the user provides a search that isn't unique enough just tell them:
The text was updated successfully, but these errors were encountered: