Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsing authored Nov 14, 2019
1 parent 7ff8200 commit e45bf68
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ go get github.com/Furduhlutur/yar
Just make sure that you have the GOPATH environment variable set in your preferred shell rc and that the $GOPATH/bin directory is in your PATH. More info [here](https://golang.org/doc/code.html#GOPATH).

## Usage
### Want to search for secrets in an organization?
### Want to search for secrets within an organization?
```
yar -o orgname
```
Expand All @@ -30,23 +30,23 @@ You can also include the members of the organization with:
yar -o orgname --include-members
```

### Want to search for secrets in a users repository?
### Want to search for secrets within a users repositories?
```
yar -u username
```

### Want to search for secrets in a single repository?
### Want to search for secrets within a single repository?
```
yar -r repolink
yar -r https://github.com/User/Repo
```
or if you have already cloned the repository
```
yar -r repopath
yar -r /path/to/.git/folder
```

### Want to search for secrets in an organization, for a user and a repository?
### Want to search for secrets within an organization, a user and a repository?
```
yar -o orgname -u username -r reponame
yar -o orgname -u username -r https://github.com/User/Repo
```

### Have your own predefined rules?
Expand Down

0 comments on commit e45bf68

Please sign in to comment.