Closed timgoeller closed 4 years ago
Didn't know about standard
before, thanks for the hint!
@timgoeller looks great to me! thank you so much! this closes #5 and helps unblock https://github.com/cabal-club/cabal-desktop/issues/143
can you generate the docs as well? just execute:
npm run doc
the docstrings you added will update https://github.com/cabal-club/cabal-client/blob/master/api.md
Very basic search that iterates messages that fit the opts (the opts that go into
getMessages()
) and returns a promise that will resolve to a list of matches. These matches are objects with a message property and a list of indexes where the search string was found. Messages that don't contain the search string won't be returned.