#!/usr/bin/env bash # contacts — manage the local contact list (vCard / CardDAV). # # Usage: # ./contacts.sh list # list all contacts # ./contacts.sh add [options] # add a contact # ./contacts.sh delete [options] # delete a contact # ./contacts.sh resolve # resolve to email address # # No external dependencies (pure Python 3). set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" exec python3 "$SCRIPT_DIR/contacts.py" "$@"