OPTION63
All docs

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:

FlagDescription
--propsComma-separated list of properties to display
--strictEnable 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:

FlagDescription
--regexOptional regex pattern — only remove if value matches
--output-fileOutput file path (defaults to stdout)

Example:

kit remove-property contacts.vcf EMAIL --regex ".*@example.com"