sabidib / remarking

Remarking is an unofficial command line tool for extracting highlights from documents on your reMarkable tablet.
GNU General Public License v3.0
53 stars 2 forks source link

feat: Add support for specifying folder paths #10

Open sabidib opened 3 years ago

sabidib commented 3 years ago

Feature Request

Describe the Feature Request

When running remarking on a device with nested folders, you are not able to specify a specific nested folder within a folder.

for example:

/articles/finished passed to remarking would not match the against the folder finished in folder articles.

If you tried to pass finished to remarking it would match against the folder, but it would also match against all folders/documents named finished.

Describe Preferred Solution

Add support for paths using the standard / separator to describe sub-directories. Such that:

remarking run json /articles/finished

Would match against finished in these articles folder but against nothing else.


Keep in mind, the previous behavior of the cmdline should be retained. This means:

remarking run json /articles/to-read finished

Would match against the to-read folder in the articles folder, but also we would get all documents/folders named finished.