wp menu item list <menu>

Gets a list of items associated with a menu

Arguments

NameDescription
menuThe name, slug, or term ID for the menu

Options

NameDescription
--fields <fields>Limit the output to specific object fields
--format <format>Render output in a particular format