Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update examples in README #77

Merged
merged 1 commit into from
Dec 17, 2022
Merged

Conversation

hi-artem
Copy link
Contributor

The way it is currently written may confuse people new to Golang.

You provide instructions on how to install binary from various sources, which will essentially have the same effect - the application binary is in OS path. However, the following usage examples assume that we are working with the source code.

This PR fixes the README examples, by making assumption osv-scanner is installed and can be directly called.

@inferno-chromium
Copy link
Contributor

/gcbrun

@inferno-chromium inferno-chromium enabled auto-merge (squash) December 17, 2022 19:26
@inferno-chromium
Copy link
Contributor

@oliverchang @another-rex - fyi. i think this is how it is used in other projects as well, so approving. I don't think we need to add "$(go env GOPATH)/bin/" to every command since we assume user know how to use go.

@inferno-chromium inferno-chromium merged commit 4cfd573 into google:main Dec 17, 2022
oliverchang added a commit to google/osv.dev that referenced this pull request Dec 19, 2022
- Add "CLI Tools" button to home page to scroll down to the relevant
  section. (Similar to "Use the API").
- Remove the $GOPATH/bin prefix to match google/osv-scanner#77.
- Tweak wording for OSV-Scanner section on "About" page
oliverchang added a commit to google/osv.dev that referenced this pull request Dec 19, 2022
- Add "CLI Tools" button to home page to scroll down to the relevant
section. (Similar to "Use the API").
- Remove the $GOPATH/bin prefix to match
google/osv-scanner#77.
- Tweak wording for OSV-Scanner section on "About" page

### CLI Tools button (desktop)

![image](https://user-images.githubusercontent.com/759062/208351893-cab0bc9d-fdd8-4508-bb1c-e9e3104e1787.png)

### CLI Tools button (mobile)

![image](https://user-images.githubusercontent.com/759062/208351941-b4ccfca2-08ee-488a-a764-b52352584e7f.png)
julieqiu pushed a commit to julieqiu/osv-scanner that referenced this pull request May 2, 2023
julieqiu pushed a commit to julieqiu/osv-scanner that referenced this pull request May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants