I've added a live search bar: if you type in it, the results shown will be filtered by what you write. By default, it filters by name. If you type tag:TAGNAME, separated by a whitespace, it filters all results by that tag (e.g., if you type php tag:backend, as of now it will show only basic-php-project-structure. It also works as tag:backend php, order does not matter).
As a result of this, to close the program now you type Control-C, not q anymore (As it is used by the search bar). If you give it multiple tags, it searches every entry that has at least one of them.
Also, the -t TAGNAME command now adds tag:TAGNAME as the first query, while a new -q QUERY command searches for QUERY at the start.
To improve on this, in the future maybe we can implement a cursor.
This resolves #4
I've added a live search bar: if you type in it, the results shown will be filtered by what you write. By default, it filters by name. If you type
tag:TAGNAME
, separated by a whitespace, it filters all results by that tag (e.g., if you typephp tag:backend
, as of now it will show only basic-php-project-structure. It also works astag:backend php
, order does not matter). As a result of this, to close the program now you type Control-C, not q anymore (As it is used by the search bar). If you give it multiple tags, it searches every entry that has at least one of them. Also, the-t TAGNAME
command now addstag:TAGNAME
as the first query, while a new-q QUERY
command searches forQUERY
at the start. To improve on this, in the future maybe we can implement a cursor. This resolves #4