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: add types to args parser, simplify the code #545

Merged
merged 1 commit into from
May 30, 2019

Conversation

kyegupov
Copy link
Contributor

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

What does this PR do?

Adds types to the objects produced by args parser (to the extent possible),

Any background context you want to provide?

The arguments object is quite messy, this is the first step towards making it manageable.

@kyegupov kyegupov self-assigned this May 29, 2019
// all arguments after a '--' are taken as is and passed to the next process
// (see the snyk-mvn-plugin or snyk-gradle-plugin)
// these agrs are split by spaces and sent as an array of strings
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this diff is misplaced. Try using split view in github to make sense of it.

@kyegupov kyegupov merged commit 04ae8f5 into master May 30, 2019
@kyegupov kyegupov deleted the refactor/args-parser branch May 30, 2019 13:33
@snyksec
Copy link

snyksec commented May 30, 2019

🎉 This PR is included in version 1.170.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants