Skip to content

cow segments

segments

cow segments [options] [command]

Create a segment

cow segments create [options]

Options

Flag Description
--name <name>
--description <description>
--definition <json>
--environments <environments> development | production

Preview a draft definition

cow segments preview [options]

Options

Flag Description
--match <match> all | any
--app-id <json>
--predicates <json>

List segments

cow segments list [options]

Options

Flag Description
--cursor <cursor>
--limit <n>
--q <q>

Fetch one segment with its member count

cow segments get [options] <id>

Update a segment

cow segments update [options] <id>

Options

Flag Description
--name <name>
--description <description>
--definition <json>
--environments <environments> development | production

Delete a segment

cow segments delete [options] <id>

List a segment’s members

cow segments listMembers [options] <id>

Options

Flag Description
--cursor <cursor>
--limit <n>