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

Help on certain commands are not available #2479

Closed
sumukhah opened this issue Mar 3, 2021 · 4 comments · Fixed by #2482
Closed

Help on certain commands are not available #2479

sumukhah opened this issue Mar 3, 2021 · 4 comments · Fixed by #2482
Labels

Comments

@sumukhah
Copy link
Contributor

sumukhah commented Mar 3, 2021

Describe the bug

Documentation on certain commands (init, loader, migrate, plugin) are not available using the help command.

What is the current behavior?

Help on certain commands are not available

To Reproduce

Steps to reproduce the behavior:

  • create a new project, add webpack, webpack-cli.
  • check the help command (notice missing of some commands)
  • check the detailed documentation using help commands on init, loader, migrate, plugin

Expected behavior

To show all available commands

Screenshots

Screenshot 2021-03-03 at 9 41 18 PM

Screenshot 2021-03-03 at 9 33 13 PM

Please paste the results of webpack-cli info here, and mention other relevant information
webpack: ^5.24.2 => 5.24.2
webpack-cli: ^4.5.0 => 4.5.0

Additional context

@sumukhah sumukhah added the Bug label Mar 3, 2021
@sumukhah sumukhah changed the title Help on certain commands is not available Help on certain commands are not available Mar 3, 2021
@alexander-akait
Copy link
Member

Expected, you need to install @webpack-cli/generators to working with this, we can improve error message

@sumukhah
Copy link
Contributor Author

sumukhah commented Mar 3, 2021

Yes thank you @alexander-akait,
I needed to install @webpack-cli/generators to access plugin and loader command, @webpack-cli/init to access init and @webpack-cli/migrate to access migrate command.
I had followed this doc should we at least update this info?

@alexander-akait
Copy link
Member

Late, @webpack-cli/migrate are deprecated, we need to remove it from help, @webpack-cli/init and @webpack-cli/generators were union in @webpack-cli/generators, but not finished fully, I think we need improve error message here, no need to update deps

@snitin315
Copy link
Member

I will improve the error message for this case 👍🏻.

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 a pull request may close this issue.

3 participants