# all

`speakeasy patches restore-pristine all`  

Restore all files with custom code to their pristine (generated) versions  

## Usage

```
speakeasy patches restore-pristine all [flags]
```

### Options

```
  -d, --dir string   project directory containing .speakeasy/gen.lock (default ".")
  -h, --help         help for all
```

### Options inherited from parent commands

```
      --logLevel string   the log level (available options: [info, warn, error]) (default "info")
```

### Parent Command

* [speakeasy patches restore-pristine](/docs/speakeasy-reference/cli/patches/restore-pristine)	 - Restore files to their pristine (generated) version, discarding custom edits
