From 5dd30fa4f90c17187a1141930954ae04b205fef3 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 24 Mar 2013 14:58:21 +0000 Subject: Add random notes to README --- README | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/README b/README index a192899..eae853b 100644 --- a/README +++ b/README @@ -7,3 +7,39 @@ documentation and such. If you can decipher the code, feel free to use it. If not, do not ask me about it. + +---- + +Random junk: + + address book command line aplication + + bbook list + bbook find PATTERN + bbook add KEY[.SUBKEY]=VALUE... + bbook edit ID KEY[.SUBKEY]=VALUE... + bbook delete ID... + bbook delete-key ID KEY[=VALUE]... + bbook show ID... + bbook mutt-query PATTERN + bbook add-from-email + + clab + + store data in a git repo, in YAML files, one file per person + + data model: + - each person is a YAML dict + - the dict has key/value pairs + - a value can be a straight string, or a sub-dict + - keys in the sub-dict are called sub-keys + - only one level of sub-dict (at least for now) + - dict and sub-dict keys are arbitrary + + questions: + - do I need a unique id for everyone? just filename? + + thoughts: + - I can edit files by hand at first, priority should be for mutt-query subcmd + so I can start using this for real asap + -- cgit v1.2.1