insanum / sncli

Simplenote CLI
MIT License
397 stars 35 forks source link

Feature request: make association of "gstyle" with "Google Style" search queries more obvious #140

Open githubisviolatingthegpl opened 5 months ago

githubisviolatingthegpl commented 5 months ago

Hi, long-time enjoyer of sncli (about 5 years) here, so thanks for this wonderful program.

I have a feature suggestion regarding how google-style search is mentioned in the help screen:

I had made a copy of the kb_help 'h' screen and was perusing it again just a few minutes ago, and I noticed (not for the first time) that there's two search modes, "gstyle" and "regex."

I figured that "gstyle" was a common search syntax I wasn't familiar with, so I went looking for it online, but couldn't find anything. So, I cloned the git repo and searched for "gstyle" in the source code, and saw that docs/configuration.rst mentions "gstyle," and just above that, "Google style search." The lightbulb came on! :smile:

I searched the README.md for any reference of gstyle, and saw that it only mentions "Google Style" (which it does a great job of explaining).

I was wondering if it would be possible to have some reference to "Google Style" search in the kb_help screen (there's just enough room to replace Search using gstyle with Google-style search), and/or add a mention of "gstyle" in the README.md, so that it can be more easily found? I don't know if I'm the only one who didn't make the connection between "gstyle" and "Google Style." :D