Skip to main content
List all unique tags in a document with how many times each appears across content nodes.

Usage

kdx document tags <file.kddb> [flags]

Flags

FlagDescriptionDefault
--nameFilter to a specific tag name
--prefixFilter tags starting with prefix

Examples

List All Tags

kdx document tags invoice.kddb
[
  {"name": "invoice/vendor_name", "count": 1},
  {"name": "invoice/invoice_number", "count": 1},
  {"name": "invoice/line_item/description", "count": 5},
  {"name": "invoice/line_item/amount", "count": 5},
  {"name": "invoice/total", "count": 1}
]

Filter by Prefix

kdx document tags invoice.kddb --prefix "invoice/line_item"
[
  {"name": "invoice/line_item/description", "count": 5},
  {"name": "invoice/line_item/amount", "count": 5}
]
Use --prefix to see only tags within a specific taxonomy branch.