Skip to content

Commit

Permalink
Add go run method to README
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind authored and daveshanley committed Jun 27, 2024
1 parent 3aa701a commit a24db7e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ Alternatively, you can pull it from
[Github packages](https://github.com/daveshanley/vacuum/pkgs/container/vacuum).
To do that, replace `dshanley/vacuum` with `ghcr.io/daveshanley/vacuum` in the above commands.

## Run with Go

If you have go >= 1.16 installed, you can use `go run` to build and run it:

```
go run github.com/daveshanley/vacuum@latest lint <your-openapi-spec.yaml>
```

---

Expand Down

0 comments on commit a24db7e

Please sign in to comment.