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

refactor: switching from usage to help documentation by default #506

Closed
wants to merge 1 commit into from

Conversation

jdewinne
Copy link
Contributor

  • Ready for review
  • Follows CONTRIBUTING rules
  • Reviewed by Snyk internal team

What does this PR do?

The current snyk cli shows a usage.txt help file when no command is given. That usage.txt file points to executing snyk --help to get more information in the usage. This PR simplifies that and directly shows help

Where should the reviewer start?

Run snyk and see if the help.txt is displayed by default

How should this be manually tested?

Executing snyk, snyk --help should both display help.txt

Any background context you want to provide?

It's just an improvement, making it a little bit more user friendly.

What are the relevant tickets?

None. Encountered this on first usage, and wanted to fix it directly. Let me know if you need a github issue.

Screenshots

Not needed.

Additional questions

None

@CLAassistant
Copy link

CLAassistant commented May 10, 2019

CLA assistant check
All committers have signed the CLA.

@FauxFaux FauxFaux requested a review from a team November 29, 2019 15:13
@ghost ghost requested review from miiila and orsagie November 29, 2019 15:14
@lili2311
Copy link
Contributor

lili2311 commented Jan 7, 2020

Rebased and pulled in the commits in this PR #943

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.

3 participants