# compare

`speakeasy overlay compare`  

Given two specs (before and after), output an overlay that describes the differences between them  

## Usage

```
speakeasy overlay compare [flags]
```

### Options

```
  -a, --after string    the after schema to compare
  -b, --before string   the before schema to compare
  -h, --help            help for compare
      --out string      write directly to a file instead of stdout
```

### Options inherited from parent commands

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

### Parent Command

* [speakeasy overlay](/docs/speakeasy-reference/cli/overlay)	 - Work with OpenAPI Overlays
