CLI reference
The vcard-bin binary provides a command-line interface named kit.
Commands
kit show
Show vCard properties from a file.
kit show <FILE> [--props <PROPS>] [--strict]
Options:
| Flag | Description |
|---|---|
--props | Comma-separated list of properties to display |
--strict | Enable strict RFC parsing mode |
Examples:
kit show contacts.vcf
kit show contacts.vcf --props FN,TEL,EMAIL
kit show contacts.vcf --strict
kit remove-property
Remove vCard property fields matching an optional regex.
kit remove-property <FILE> <FIELD> [--regex <PATTERN>] [--output-file <PATH>]
Options:
| Flag | Description |
|---|---|
--regex | Optional regex pattern — only remove if value matches |
--output-file | Output file path (defaults to stdout) |
Example:
kit remove-property contacts.vcf EMAIL --regex ".*@example.com"