jarun / buku

:bookmark: Personal mini-web in text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why not "buku a" to add a bookmark?

BarbzYHOOL opened this issue · comments

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

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).

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

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.

commented

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

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