jarun / buku

:bookmark: Personal mini-web in text
GNU General Public License v3.0
6.52k stars 294 forks source link

Why not "buku a" to add a bookmark? #714

Closed BarbzYHOOL closed 9 months ago

BarbzYHOOL commented 9 months ago

Why not add a new hotkey/argument a which is pretty intuitive a ==> add? It would just trigger the existing system

thanks for considering it

LeXofLeviafan commented 9 months ago

Could you elaborate? I'm not sure what you're talking about.

buku is a CLI app, so a plain letter hotkey wouldn't work; as for CLI arguments/interactive actions, there are ones intended for adding bookmarks (…the CLI one is shortened as -a, incidentally).

BarbzYHOOL commented 9 months ago

Oops my bad, I got confused a bit

But if you type "buku" interactive mode, "a" should work like -a, just for being more accessible

LeXofLeviafan commented 9 months ago

That… would make sense, I guess. Having a mismatch between CLI arguments and interactive commands is somewhat confusing. Though I'm not sure such a change would fly with @jarun – he doesn't like the idea of changing existing API.

Truthfully, I'm not sold on the idea of opening multiple bookmarks at once (that's quite likely to cause a minor DDoS attack if the bookmarks are pointing at the same server), but I guess someone else might be using it if it made into the app.

jarun commented 9 months ago

No plans for this. The program options are not exactly the same as the prompt keys.

BarbzYHOOL commented 9 months ago

that's confusing, in fact many things are in buku