Skip to content

Commit

Permalink
update instructions and usage
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Fitzgerald <joeyfitz@gmail.com>
  • Loading branch information
joefitzgerald committed Jan 11, 2024
1 parent 5024b9c commit c1028da
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ $ go run github.com/maxbrunsfeld/counterfeiter/v6

USAGE
counterfeiter
[-generate] [-o <output-path>] [-p] [--fake-name <fake-name>]
[-generate>] [-o <output-path>] [-p] [--fake-name <fake-name>]
[-header <header-file>]
[<source-path>] <interface> [-]
```

Expand All @@ -125,12 +126,13 @@ USAGE
This is unnecessary if you're using the approach described above, but does allow you to invoke `counterfeiter` in your shell _outside_ of a module:

```shell
$ GO111MODULE=off go get -u github.com/maxbrunsfeld/counterfeiter
$ counterfeiter
$ go install github.com/maxbrunsfeld/counterfeiter/v6
$ ~/go/bin/counterfeiter

USAGE
counterfeiter
[-generate] [-o <output-path>] [-p] [--fake-name <fake-name>]
[-generate>] [-o <output-path>] [-p] [--fake-name <fake-name>]
[-header <header-file>]
[<source-path>] <interface> [-]
```

Expand Down

0 comments on commit c1028da

Please sign in to comment.