# prb tracker-pattern command reference

Manage tracker patterns. This page documents **7 commands** under `prb tracker-pattern`.

Flags and examples below come from the command definitions. A **Required** flag is explicitly marked required by Cobra; an unmarked flag can still be needed by runtime validation or a non-interactive workflow. Empty strings and empty lists are registered defaults, not sample values.

Every command also inherits the [global flags](/docs/developers/cli/commands#global-flags). Run `prb <command> --help` to check your installed version. Replace placeholder IDs and names in source examples before running them. Return to the [complete CLI command reference](/docs/developers/cli/commands) to browse another command.

## Commands

| Command                                                     | Description                                     | Usage                             | Source                                                                                                            |
| ----------------------------------------------------------- | ----------------------------------------------- | --------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| [`prb tracker-pattern`](#prb-tracker-pattern)               | Manage tracker patterns.                        | `prb tracker-pattern <command>`   | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/tracker-pattern/tracker_pattern.go#L35) |
| [`prb tracker-pattern create`](#prb-tracker-pattern-create) | Create a new tracker pattern.                   | `prb tracker-pattern create`      | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/tracker-pattern/create/create.go#L69)   |
| [`prb tracker-pattern delete`](#prb-tracker-pattern-delete) | Delete a tracker pattern.                       | `prb tracker-pattern delete <id>` | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/tracker-pattern/delete/delete.go#L46)   |
| [`prb tracker-pattern list`](#prb-tracker-pattern-list)     | List tracker patterns in a category.            | `prb tracker-pattern list`        | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/tracker-pattern/list/list.go#L79)       |
| [`prb tracker-pattern move`](#prb-tracker-pattern-move)     | Move a tracker pattern to a different category. | `prb tracker-pattern move <id>`   | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/tracker-pattern/move/move.go#L64)       |
| [`prb tracker-pattern update`](#prb-tracker-pattern-update) | Update a tracker pattern.                       | `prb tracker-pattern update <id>` | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/tracker-pattern/update/update.go#L62)   |
| [`prb tracker-pattern view`](#prb-tracker-pattern-view)     | View a tracker pattern.                         | `prb tracker-pattern view <id>`   | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/tracker-pattern/view/view.go#L84)       |

## prb tracker-pattern

Manage tracker patterns.

### Usage

```text
prb tracker-pattern <command>
```

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/tracker-pattern/tracker_pattern.go#L35).

## prb tracker-pattern create

Create a new tracker pattern.

### Usage

```text
prb tracker-pattern create
```

### Flags

| Flag                | Type    | Default | Required | Description                          |
| ------------------- | ------- | ------- | -------- | ------------------------------------ |
| `--category-id`     | string  | `""`    | Required | Cookie category ID (required)        |
| `--description`     | string  | `""`    | —        | Description                          |
| `--match-type`      | string  | `""`    | —        | Match type: EXACT or GLOB (required) |
| `--max-age-seconds` | integer | `0`     | —        | Maximum age in seconds               |
| `--pattern`         | string  | `""`    | —        | Tracker pattern (required)           |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/tracker-pattern/create/create.go#L69).

## prb tracker-pattern delete

Delete a tracker pattern.

### Usage

```text
prb tracker-pattern delete <id>
```

Requires 1 positional argument.

### Flags

| Flag          | Type    | Default | Required | Description              |
| ------------- | ------- | ------- | -------- | ------------------------ |
| `--yes`, `-y` | boolean | `false` | —        | Skip confirmation prompt |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/tracker-pattern/delete/delete.go#L46).

## prb tracker-pattern list

List tracker patterns in a category.

### Usage

```text
prb tracker-pattern list
```

Accepts no positional arguments.

### Flags

| Flag             | Type    | Default | Required | Description                                          |
| ---------------- | ------- | ------- | -------- | ---------------------------------------------------- |
| `--after`        | string  | `""`    | —        | Cursor from the previous page (the Next cursor line) |
| `--category-id`  | string  | `""`    | Required | Cookie category ID (required)                        |
| `--json`         | boolean | `false` | —        | Output JSON (same as --output json)                  |
| `--limit`, `-L`  | integer | `30`    | —        | Maximum number of items                              |
| `--output`, `-o` | string  | `""`    | —        | Output format: json, table (default)                 |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/tracker-pattern/list/list.go#L79).

## prb tracker-pattern move

Move a tracker pattern to a different category.

### Usage

```text
prb tracker-pattern move <id>
```

Requires 1 positional argument.

### Flags

| Flag                   | Type   | Default | Required | Description                          |
| ---------------------- | ------ | ------- | -------- | ------------------------------------ |
| `--target-category-id` | string | `""`    | Required | Target cookie category ID (required) |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/tracker-pattern/move/move.go#L64).

## prb tracker-pattern update

Update a tracker pattern.

### Usage

```text
prb tracker-pattern update <id>
```

Requires 1 positional argument.

### Flags

| Flag                | Type    | Default | Required | Description                         |
| ------------------- | ------- | ------- | -------- | ----------------------------------- |
| `--description`     | string  | `""`    | —        | Description                         |
| `--excluded`        | boolean | `false` | —        | Exclude pattern from consent banner |
| `--max-age-seconds` | integer | `0`     | —        | Maximum age in seconds              |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/tracker-pattern/update/update.go#L62).

## prb tracker-pattern view

View a tracker pattern.

### Usage

```text
prb tracker-pattern view <id>
```

Requires 1 positional argument.

### Flags

| Flag             | Type    | Default | Required | Description                          |
| ---------------- | ------- | ------- | -------- | ------------------------------------ |
| `--json`         | boolean | `false` | —        | Output JSON (same as --output json)  |
| `--output`, `-o` | string  | `""`    | —        | Output format: json, table (default) |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/tracker-pattern/view/view.go#L84).
