cow segments
segments
cow segments [options] [command]
cow segments create
Section titled “cow segments create”Create a segment
cow segments create [options]
Options
| Flag | Description |
|---|---|
--name <name> |
|
--description <description> |
|
--definition <json> |
|
--environments <environments> |
development | production |
cow segments preview
Section titled “cow segments preview”Preview a draft definition
cow segments preview [options]
Options
| Flag | Description |
|---|---|
--match <match> |
all | any |
--app-id <json> |
|
--predicates <json> |
cow segments list
Section titled “cow segments list”List segments
cow segments list [options]
Options
| Flag | Description |
|---|---|
--cursor <cursor> |
|
--limit <n> |
|
--q <q> |
cow segments get
Section titled “cow segments get”Fetch one segment with its member count
cow segments get [options] <id>
cow segments update
Section titled “cow segments update”Update a segment
cow segments update [options] <id>
Options
| Flag | Description |
|---|---|
--name <name> |
|
--description <description> |
|
--definition <json> |
|
--environments <environments> |
development | production |
cow segments delete
Section titled “cow segments delete”Delete a segment
cow segments delete [options] <id>
cow segments listMembers
Section titled “cow segments listMembers”List a segment’s members
cow segments listMembers [options] <id>
Options
| Flag | Description |
|---|---|
--cursor <cursor> |
|
--limit <n> |