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

feat: help for core flags #1141

Merged
merged 22 commits into from
Jan 20, 2020
Merged

Conversation

rishabh3112
Copy link
Member

What kind of change does this PR introduce?
Feature

Did you add tests for your changes?
No, will need

If relevant, did you update the documentation?
No

Summary
Adds help of flags as we have help for command from #1098.

Does this PR introduce a breaking change?
No

Other information
#1098 #1053

Copy link
Member

@jamesgeorge007 jamesgeorge007 left a comment

Choose a reason for hiding this comment

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

I left a couple of comments.

lib/groups/help.js Outdated Show resolved Hide resolved
lib/utils/core-flags.js Outdated Show resolved Hide resolved
lib/webpack-cli.js Outdated Show resolved Hide resolved
lib/groups/help.js Outdated Show resolved Hide resolved
@rishabh3112
Copy link
Member Author

@jamesgeorge007 awesome quick reviews 🐱‍👤👍

lib/groups/help.js Outdated Show resolved Hide resolved
Comment on lines +168 to 170
const subject = allNames.filter(name => {
return args.includes(name);
})[0];
Copy link
Member

Choose a reason for hiding this comment

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

        const subject = allNames.filter(name => args.includes(name))[0];

Maybe 🤔

Copy link
Member

Choose a reason for hiding this comment

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

A little bit difficult to understand at first glance ...

@rishabh3112 rishabh3112 marked this pull request as ready for review December 13, 2019 16:07
@rishabh3112 rishabh3112 requested a review from a team as a code owner December 13, 2019 16:07
@webpack-bot
Copy link

@rishabh3112 Thanks for your update.

I labeled the Pull Request so reviewers will review it again.

@ematipico Please review the new changes.

@rishabh3112
Copy link
Member Author

I updated the help and added documentation links for some of those.
image

ematipico
ematipico previously approved these changes Jan 17, 2020
@webpack-bot
Copy link

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

@ematipico
Copy link
Contributor

@rishabh3112 if you resolved the conflicts, I'd say we're ready to merge it!

@rishabh3112
Copy link
Member Author

@ematipico rebased, and we are ready to go I think.

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

Successfully merging this pull request may close these issues.

None yet

5 participants