Skip to content

Search

Searches for record IDs based on the search domain.

clo search clo search [[-o|-n|-a] -d FIELD OPERATOR VALUE [-d ...]] [--offset POSITION] [--limit AMOUNT] [--order FIELD] [--count] [-h]

Options

‑‑domain FIELD OPERATOR VALUE

‑d FIELD OPERATOR VALUE

A set of criterion to filter the search by (run clo explain domains for details). This option can be specified multiple times.

Default: []

‑‑or

‑o

A logical OR, placed before two or more domains (arity 2). Run clo explain logic for more details.

‑‑and

‑a

A logical AND to place before two or more domains (arity 2). Run clo explain logic for more details.

‑‑not

‑n

A logical OR to place before a signle domain (arity 1). Run clo explain logic for more details.

‑‑offset POSITION

Number of results to ignore.

Default: 0

‑‑limit AMOUNT

Maximum number of records to return.

‑‑order FIELD

The field to sort the records by.

‑‑raw

‑r

Format output as space-separated IDs rather than pretty JSON.

Default: false

Peripherals

Supportive, non-operational functions.

‑‑help

‑h

Show this help message and exit.