# update

## Usage

```bash
bdy pipeline update [options] <identifier> <yaml|@path>
```

## Arguments

| **Argument** | **Description** |
| :--- | :--- |
| `identifier` | Human-readable ID of the pipeline (required) |
| `yaml|@path` | Complete pipeline YAML. To specify file use @path/to/file format in value (required) |

## Options

| **Option** | **Description** |
| :--- | :--- |
| `-w, --workspace <domain>` | Workspace URL handle. Can be set via variable: BUDDY_WORKSPACE |
| `-p, --project <name>` | Project name. Can be set via variable: BUDDY_PROJECT |
| `--format <text|json>` | Output format: json, text. Default: text |
| `-h, --help` | display help for command |

## Examples

### ## pipeline update with yaml

```bash
bdy pip update pipeline-identifier @path/to/yaml
```

### ## pipeline update with yaml and output json

```bash
bdy pip update pipeline-identifier @path/to/yaml --format json
```


---
Original source: https://buddy.works/docs/cli/pipeline/update