Skip to content

Commit 0f0e403

Browse files
authored
fix: description for init command (#2528)
1 parent cc45d3e commit 0f0e403

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

OPTIONS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ Commands:
858858
configtest|t [config-path] Validate a webpack configuration.
859859
help|h [command] [option] Display help for commands and options.
860860
info|i [options] Outputs information about your system.
861-
init|c [generation-path] [options] Initialize a new webpack configuration.
861+
init|c [generation-path] [options] Initialize a new webpack project.
862862
loader|l [output-path] Scaffold a loader.
863863
migrate|m <config-path> [new-config-path] Migrate a configuration to a new version.
864864
plugin|p [output-path] Scaffold a plugin.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Thus, webpack CLI provides different commands for many common tasks.
5858
- `build|bundle|b [entries...] [options]` - Run webpack (default command, can be omitted).
5959
- [`configtest|t [config-path]`](./packages/configtest/README.md#webpack-cli-configtest) - Validate a webpack configuration.
6060
- `help|h [command] [option]` - Display help for commands and options.
61-
- [`init|c [scaffold...] [options]`](./INIT.md#webpack-cli-init) - Create a new webpack configuration.
61+
- [`init|c [generation-path] [options]`](./INIT.md#webpack-cli-init) - Create a new webpack project.
6262
- [`info|i [options]`](./packages/info/README.md#webpack-cli-info) - Returns information related to the local environment.
6363
- [`migrate|m <config-path> [new-config-path]`](https://www.npmjs.com/package/@webpack-cli/migrate) - Migrate project from one version to another.
6464
- [`plugin|p [output-path]`](./packages/generators#generators) - Initiate new plugin project.

packages/generators/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class GeneratorsCommand {
1313
{
1414
name: 'init [generation-path]',
1515
alias: 'c',
16-
description: 'Initialize a new webpack configuration.',
16+
description: 'Initialize a new webpack project.',
1717
usage: '[generation-path] [options]',
1818
pkg: '@webpack-cli/generators',
1919
},

packages/webpack-cli/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ npx webpack-cli --help verbose
6767
configtest|t [config-path] Validate a webpack configuration.
6868
help|h [command] [option] Display help for commands and options.
6969
info|i [options] Outputs information about your system.
70-
init|c [scaffold...] [options] Initialize a new webpack configuration.
70+
init|c [generation-path] [options] Initialize a new webpack project.
7171
loader|l [output-path] Scaffold a loader.
7272
migrate|m <config-path> [new-config-path] Migrate a configuration to a new version.
7373
plugin|p [output-path] Scaffold a plugin.

0 commit comments

Comments
 (0)