--json envelope, which stays stable across terminals; the default pretty output picks columns to fit your terminal width. See Output formats.
List categories
This command lists the category tree with article counts. Use this when you want a category ID to filter articles by, or to check where a new article should go before creating it.Sample output (--json)
subcategories nests the full child categories, and ancestors lists the parents up to the root. articles_count covers the category itself; total_articles_count includes its subcategories.