contacts: support multiple address book collections

Migadu exposes "family" and "business" address books via CardDAV.
The contacts script now searches all subdirs under contacts/ and
adds new contacts to the "family" collection by default.
This commit is contained in:
Yanxin Lu
2026-03-31 13:33:04 -07:00
parent 3825f3dcdb
commit 0910bd5d5c
4 changed files with 20 additions and 15 deletions

View File

@@ -39,7 +39,7 @@ $CONTACTS_DIR/scripts/contacts.sh list
- [ ] `contact add` prints "Added contact: ..."
- [ ] Second `contact add` prints "Updated contact: ... — added ..."
- [ ] `contact list` shows all contacts with email types
- [ ] `.vcf` files created in `~/.openclaw/workspace/contacts/default/`
- [ ] `.vcf` files created in `~/.openclaw/workspace/contacts/family/`
## 2. Recipient Resolution (Send Validation)