wp site list

Lists all sites in a multisite installation

Options

NameDescription
--network <id>The network to which the sites belong
--field=valueThe serialization format for the value
--site_in <value>Only list the sites with these blog_id values (comma-separated)
--field <field>Prints the value of a single field for each site
--fields <fields>Comma-separated list of fields to show
--format <format>Render output in a particular format