notaapp / talk

Issues and discussions for the notes app, Nota.
https://nota.md
59 stars 1 forks source link

Feature Request: Search via CLI #238

Closed minthemiddle closed 2 years ago

minthemiddle commented 2 years ago

To integrate Nota even better in workflows outside of Nota (e.g. Alfred/Raycast), it would be very helpful if the CLI of Nota would support search.

Example:

nota search SEARCH_TERM

I have a special use case for this: I'm giving unique IDs to every note, such as 7HUEiU4c. With a search via CLI, I could get to the desired note very quickly also from outside of Nota (=Alfred, in my case). Right now, I have to open Nota first, open the search and find it there.

I'm sure that there are other use cases

astoilkov commented 2 years ago

Quick question. Does nota search shows Nota and open the search dialog with the SEARCH_TERM filled?

astoilkov commented 2 years ago

Can the global search shortcut work for you? CleanShot 2022-05-31 at 11 17 07@2x

minthemiddle commented 2 years ago

Global key works for this use case.