Skip to content

Commit 907ee0e

Browse files
hi-artemjulieqiu
authored andcommitted
Update README.md (google#77)
1 parent 96b2aa9 commit 907ee0e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ as real git repositories.
6969
#### Example
7070

7171
```bash
72-
$ go run ./cmd/osv-scanner -r /path/to/your/dir
72+
$ osv-scanner -r /path/to/your/dir
7373
```
7474

7575
### Input an SBOM
@@ -84,7 +84,7 @@ auto-detected based on the input file contents.
8484
#### Example
8585

8686
```bash
87-
$ go run ./cmd/osv-scanner --sbom=/path/to/your/sbom.json
87+
$ osv-scanner --sbom=/path/to/your/sbom.json
8888
```
8989

9090
### Input a lockfile
@@ -109,7 +109,7 @@ A wide range of lockfiles are supported by utilizing this [lockfile package](htt
109109
#### Example
110110

111111
```bash
112-
$ go run ./cmd/osv-scanner --lockfile=/path/to/your/package-lock.json -L /path/to/another/Cargo.lock
112+
$ osv-scanner --lockfile=/path/to/your/package-lock.json -L /path/to/another/Cargo.lock
113113
```
114114

115115
### Scanning a Debian based docker image packages (preview)
@@ -125,7 +125,7 @@ This currently does not scan the filesystem of the Docker container, and has var
125125
#### Example
126126

127127
```bash
128-
$ go run ./cmd/osv-scanner --docker image_name:latest
128+
$ osv-scanner --docker image_name:latest
129129
```
130130

131131
## Configure OSV-Scanner

0 commit comments

Comments
 (0)