This is a lot friendlier than just saying "I couldn't determine exactly
which schedule you meant". Unless I know the exact schedule name I
might not be able to figure out how to get the on call person to show.
I also often want to know who's on call for multiple teams that match a
string since we have multiple "platform" teams that I oversee.
Only issue I can see here is if someone has a lot of schedules this
might spam the chat with all the matches. I would imagine this is an
edge case that might not even matter, especially since 'hubot pager
schedules foo` would already have that issue since it prints all the
matching schedules.
This is a lot friendlier than just saying "I couldn't determine exactly which schedule you meant". Unless I know the exact schedule name I might not be able to figure out how to get the on call person to show. I also often want to know who's on call for multiple teams that match a string since we have multiple "platform" teams that I oversee.
Only issue I can see here is if someone has a lot of schedules this might spam the chat with all the matches. I would imagine this is an edge case that might not even matter, especially since 'hubot pager schedules foo` would already have that issue since it prints all the matching schedules.