# `once edit apply`

Apply a batch of operations to one `once.toml` atomically.

## Synopsis

```text
once edit apply [OPTIONS]
```

## Description

Reads `{ "package": "...", "operations": [...] }` from `--file` or, if omitted, from stdin. On success, the manifest is rewritten and the resolved path is printed. On failure, structured diagnostics are emitted and the manifest is left untouched.

## Options

| Flag | Value | Default | Description |
| --- | --- | --- | --- |
| `--file` | `<PATH>` |  | Path to a JSON file. When omitted, the JSON document is read from stdin. |
