Meridian handbook
ReferenceCLI

lists

engine-dmo lists: Smart lists: check every saved query, count one, or run one to a file. Every subcommand, argument and flag.

Smart lists: check every saved query, count one, or run one to a file.

CommandWhat it does
engine-dmo lists checkValidate every smart list, saved and seeded, against the schema and the vocabulary
engine-dmo lists countHow many rows a list matches now
engine-dmo lists runThe full set of ids, to a CSV file, audited as an export

engine-dmo lists check

Validate every smart list, saved and seeded, against the schema and the vocabulary.

engine-dmo lists check [flags]
FlagTypeDefaultMeaning
--keystringone list

--json prints the text output in the JSON envelope. Runs in a project.

lists check needs the database, and checks the lists saved there as well as the seeded ones. A seeded list in config/tags/smartlists.yaml is also checked by engine-dmo check, with --no-db against the tags in config/tags/vocabulary.yaml, and with a database against the tags it holds.

engine-dmo lists count

How many rows a list matches now.

engine-dmo lists count [flags]
FlagTypeDefaultMeaning
--keystringthe list
--localestringreading locale (default: the source locale)
--sitestringsite key (default: the default site)

--json prints the command’s own JSON document. Runs in a project.

engine-dmo lists run

The full set of ids, to a CSV file, audited as an export.

engine-dmo lists run [flags]
FlagTypeDefaultMeaning
--keystringthe list
--localestringreading locale (default: the source locale)
--outstringCSV file to write (default: stdout)
--sitestringsite key (default: the default site)

--json prints the text output in the JSON envelope. Runs in a project.