Commit Graph

4 Commits

Author SHA1 Message Date
Michael Muré
fab626a7a6 query: refactor to reuse the split function for both query and token 2021-02-27 20:31:10 +01:00
Miklos Vajna
cb61245078 Add ability to search by arbitrary metadata
Example:

~/git/git-bug/git-bug ls --metadata github-url=https://github.com/author/myproject/issues/42

or

~/git/git-bug/git-bug ls metadata:github-url:\"https://github.com/author/myproject/issues/42\"

Fixes the cmdline part of <https://github.com/MichaelMure/git-bug/issues/567>.
2021-02-21 14:15:50 +01:00
Michael Muré
b285c57dc6
query: expand the tokenizer/parser to parse arbitrary search terms 2020-11-17 08:09:51 -05:00
Michael Muré
314fcbb229
query: no need for an ast package 2020-03-28 17:13:28 +01:00