You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make it more consistent with other CLI tools I'd propose renaming webpack --migrate to webpack migrate. Historically, -- are for options but migrate is a command. So, the usage would look like
webpack migrate path/to/webpack.config.js
This would also allow us passing some arbitrary options to this command (like, code style for prettier etc.) in the future.
The text was updated successfully, but these errors were encountered:
- Rename migrate and init options to command. Closes#89
- Use `commands` from yargs
- Add start command and made it default
- Move all options to one place
- Show options only for start command
To make it more consistent with other CLI tools I'd propose renaming
webpack --migrate
towebpack migrate
. Historically,--
are for options but migrate is a command. So, the usage would look likeThis would also allow us passing some arbitrary options to this command (like, code style for prettier etc.) in the future.
The text was updated successfully, but these errors were encountered: