lucc / khard

Console vcard client
https://khard.readthedocs.io/en/latest/
GNU General Public License v3.0
595 stars 66 forks source link

edit contact by file name #300

Open ronnac opened 2 years ago

ronnac commented 2 years ago

This is a feature request: I would like to be able to edit a contact by giving the file name like so khard edit /home/user_x/.contacts/09c6ad40-f6c6-441a-a004-9608701f3b41.vcf

rationale: mates.rs is very fast at finding contacts but not so good ad editing them (not a lot of fields). This way I could combine the two (mates.rs and khards)

lucc commented 2 years ago

I think this would have to be a different command because only the option -i of the current edit command make sense for this. And the positional argument is also interpreted differently.

I understand that this is desirable but it does not really fit into the feature set of khard. Khrad currently only manages contacts inside its address books.

I will keep this open non the less. Ideas or even PRs are welcome.