diff --git a/packages/generators/src/index.ts b/packages/generators/src/index.ts index be8fd99b71f..d9de58bfbc3 100644 --- a/packages/generators/src/index.ts +++ b/packages/generators/src/index.ts @@ -14,6 +14,9 @@ class GeneratorsCommand { name: 'init [generation-path]', alias: ['create', 'new', 'c', 'n'], description: 'Initialize a new webpack project.', + argsDescription: { + 'generation-path': 'Path to the installation directory, e.g. ./projectName', + }, usage: '[generation-path] [options]', pkg: '@webpack-cli/generators', }, @@ -54,6 +57,9 @@ class GeneratorsCommand { name: 'loader [output-path]', alias: 'l', description: 'Scaffold a loader.', + argsDescription: { + 'output-path': 'Path to the output directory, e.g. ./loaderName', + }, usage: '[output-path] [options]', pkg: '@webpack-cli/generators', }, @@ -82,6 +88,9 @@ class GeneratorsCommand { name: 'plugin [output-path]', alias: 'p', description: 'Scaffold a plugin.', + argsDescription: { + 'output-path': 'Path to the output directory, e.g. ./pluginName', + }, usage: '[output-path] [options]', pkg: '@webpack-cli/generators', }, diff --git a/packages/webpack-cli/lib/webpack-cli.js b/packages/webpack-cli/lib/webpack-cli.js index 7c58c238856..cd39489449a 100644 --- a/packages/webpack-cli/lib/webpack-cli.js +++ b/packages/webpack-cli/lib/webpack-cli.js @@ -38,7 +38,7 @@ class WebpackCLI { }); if (commandOptions.description) { - command.description(commandOptions.description); + command.description(commandOptions.description, commandOptions.argsDescription); } if (commandOptions.usage) { diff --git a/test/help/__snapshots__/help.test.js.snap.devServer3.webpack4 b/test/help/__snapshots__/help.test.js.snap.devServer3.webpack4 index 779d58db0f7..22f0fa47246 100644 --- a/test/help/__snapshots__/help.test.js.snap.devServer3.webpack4 +++ b/test/help/__snapshots__/help.test.js.snap.devServer3.webpack4 @@ -530,6 +530,9 @@ exports[`help should show help information for 'c' command using command syntax: Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -554,6 +557,9 @@ exports[`help should show help information for 'c' command using the "--help" op Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -660,6 +666,9 @@ exports[`help should show help information for 'create' command using command sy Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -684,6 +693,9 @@ exports[`help should show help information for 'create' command using the "--hel Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -850,6 +862,9 @@ exports[`help should show help information for 'init' and respect the "--color" Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default @@ -876,6 +891,9 @@ exports[`help should show help information for 'init' and respect the "--no-colo Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default @@ -902,6 +920,9 @@ exports[`help should show help information for 'init' command using command synt Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -926,6 +947,9 @@ exports[`help should show help information for 'init' command using the "--help" Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -950,6 +974,9 @@ exports[`help should show help information for 'l' command using command syntax: Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -973,6 +1000,9 @@ exports[`help should show help information for 'l' command using the "--help" op Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -996,6 +1026,9 @@ exports[`help should show help information for 'loader' and respect the "--color Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1020,6 +1053,9 @@ exports[`help should show help information for 'loader' and respect the "--no-co Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1044,6 +1080,9 @@ exports[`help should show help information for 'loader' command using command sy Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1067,6 +1106,9 @@ exports[`help should show help information for 'loader' command using the "--hel Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1212,6 +1254,9 @@ exports[`help should show help information for 'n' command using command syntax: Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -1236,6 +1281,9 @@ exports[`help should show help information for 'n' command using the "--help" op Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -1260,6 +1308,9 @@ exports[`help should show help information for 'new' command using command synta Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -1284,6 +1335,9 @@ exports[`help should show help information for 'new' command using the "--help" Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -1308,6 +1362,9 @@ exports[`help should show help information for 'p' command using command syntax: Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1331,6 +1388,9 @@ exports[`help should show help information for 'p' command using the "--help" op Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1354,6 +1414,9 @@ exports[`help should show help information for 'plugin' and respect the "--color Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1378,6 +1441,9 @@ exports[`help should show help information for 'plugin' and respect the "--no-co Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1402,6 +1468,9 @@ exports[`help should show help information for 'plugin' command using command sy Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1425,6 +1494,9 @@ exports[`help should show help information for 'plugin' command using the "--hel Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") diff --git a/test/help/__snapshots__/help.test.js.snap.devServer3.webpack5 b/test/help/__snapshots__/help.test.js.snap.devServer3.webpack5 index 7de1a7c196a..ace44a2d488 100644 --- a/test/help/__snapshots__/help.test.js.snap.devServer3.webpack5 +++ b/test/help/__snapshots__/help.test.js.snap.devServer3.webpack5 @@ -539,6 +539,9 @@ exports[`help should show help information for 'c' command using command syntax: Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -563,6 +566,9 @@ exports[`help should show help information for 'c' command using the "--help" op Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -669,6 +675,9 @@ exports[`help should show help information for 'create' command using command sy Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -693,6 +702,9 @@ exports[`help should show help information for 'create' command using the "--hel Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -859,6 +871,9 @@ exports[`help should show help information for 'init' and respect the "--color" Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default @@ -885,6 +900,9 @@ exports[`help should show help information for 'init' and respect the "--no-colo Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default @@ -911,6 +929,9 @@ exports[`help should show help information for 'init' command using command synt Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -935,6 +956,9 @@ exports[`help should show help information for 'init' command using the "--help" Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -959,6 +983,9 @@ exports[`help should show help information for 'l' command using command syntax: Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -982,6 +1009,9 @@ exports[`help should show help information for 'l' command using the "--help" op Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1005,6 +1035,9 @@ exports[`help should show help information for 'loader' and respect the "--color Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1029,6 +1062,9 @@ exports[`help should show help information for 'loader' and respect the "--no-co Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1053,6 +1089,9 @@ exports[`help should show help information for 'loader' command using command sy Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1076,6 +1115,9 @@ exports[`help should show help information for 'loader' command using the "--hel Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1221,6 +1263,9 @@ exports[`help should show help information for 'n' command using command syntax: Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -1245,6 +1290,9 @@ exports[`help should show help information for 'n' command using the "--help" op Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -1269,6 +1317,9 @@ exports[`help should show help information for 'new' command using command synta Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -1293,6 +1344,9 @@ exports[`help should show help information for 'new' command using the "--help" Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -1317,6 +1371,9 @@ exports[`help should show help information for 'p' command using command syntax: Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1340,6 +1397,9 @@ exports[`help should show help information for 'p' command using the "--help" op Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1363,6 +1423,9 @@ exports[`help should show help information for 'plugin' and respect the "--color Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1387,6 +1450,9 @@ exports[`help should show help information for 'plugin' and respect the "--no-co Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1411,6 +1477,9 @@ exports[`help should show help information for 'plugin' command using command sy Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1434,6 +1503,9 @@ exports[`help should show help information for 'plugin' command using the "--hel Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") diff --git a/test/help/__snapshots__/help.test.js.snap.devServer4.webpack4 b/test/help/__snapshots__/help.test.js.snap.devServer4.webpack4 index ffcfd529f1b..d05143bbc5a 100644 --- a/test/help/__snapshots__/help.test.js.snap.devServer4.webpack4 +++ b/test/help/__snapshots__/help.test.js.snap.devServer4.webpack4 @@ -530,6 +530,9 @@ exports[`help should show help information for 'c' command using command syntax: Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -554,6 +557,9 @@ exports[`help should show help information for 'c' command using the "--help" op Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -660,6 +666,9 @@ exports[`help should show help information for 'create' command using command sy Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -684,6 +693,9 @@ exports[`help should show help information for 'create' command using the "--hel Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -850,6 +862,9 @@ exports[`help should show help information for 'init' and respect the "--color" Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default @@ -876,6 +891,9 @@ exports[`help should show help information for 'init' and respect the "--no-colo Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default @@ -902,6 +920,9 @@ exports[`help should show help information for 'init' command using command synt Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -926,6 +947,9 @@ exports[`help should show help information for 'init' command using the "--help" Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -950,6 +974,9 @@ exports[`help should show help information for 'l' command using command syntax: Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -973,6 +1000,9 @@ exports[`help should show help information for 'l' command using the "--help" op Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -996,6 +1026,9 @@ exports[`help should show help information for 'loader' and respect the "--color Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1020,6 +1053,9 @@ exports[`help should show help information for 'loader' and respect the "--no-co Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1044,6 +1080,9 @@ exports[`help should show help information for 'loader' command using command sy Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1067,6 +1106,9 @@ exports[`help should show help information for 'loader' command using the "--hel Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1212,6 +1254,9 @@ exports[`help should show help information for 'n' command using command syntax: Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -1236,6 +1281,9 @@ exports[`help should show help information for 'n' command using the "--help" op Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -1260,6 +1308,9 @@ exports[`help should show help information for 'new' command using command synta Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -1284,6 +1335,9 @@ exports[`help should show help information for 'new' command using the "--help" Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -1308,6 +1362,9 @@ exports[`help should show help information for 'p' command using command syntax: Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1331,6 +1388,9 @@ exports[`help should show help information for 'p' command using the "--help" op Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1354,6 +1414,9 @@ exports[`help should show help information for 'plugin' and respect the "--color Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1378,6 +1441,9 @@ exports[`help should show help information for 'plugin' and respect the "--no-co Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1402,6 +1468,9 @@ exports[`help should show help information for 'plugin' command using command sy Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1425,6 +1494,9 @@ exports[`help should show help information for 'plugin' command using the "--hel Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") diff --git a/test/help/__snapshots__/help.test.js.snap.devServer4.webpack5 b/test/help/__snapshots__/help.test.js.snap.devServer4.webpack5 index 33c0a4bc196..41daf2d2042 100644 --- a/test/help/__snapshots__/help.test.js.snap.devServer4.webpack5 +++ b/test/help/__snapshots__/help.test.js.snap.devServer4.webpack5 @@ -539,6 +539,9 @@ exports[`help should show help information for 'c' command using command syntax: Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -563,6 +566,9 @@ exports[`help should show help information for 'c' command using the "--help" op Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -669,6 +675,9 @@ exports[`help should show help information for 'create' command using command sy Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -693,6 +702,9 @@ exports[`help should show help information for 'create' command using the "--hel Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -859,6 +871,9 @@ exports[`help should show help information for 'init' and respect the "--color" Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default @@ -885,6 +900,9 @@ exports[`help should show help information for 'init' and respect the "--no-colo Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default @@ -911,6 +929,9 @@ exports[`help should show help information for 'init' command using command synt Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -935,6 +956,9 @@ exports[`help should show help information for 'init' command using the "--help" Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -959,6 +983,9 @@ exports[`help should show help information for 'l' command using command syntax: Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -982,6 +1009,9 @@ exports[`help should show help information for 'l' command using the "--help" op Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1005,6 +1035,9 @@ exports[`help should show help information for 'loader' and respect the "--color Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1029,6 +1062,9 @@ exports[`help should show help information for 'loader' and respect the "--no-co Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1053,6 +1089,9 @@ exports[`help should show help information for 'loader' command using command sy Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1076,6 +1115,9 @@ exports[`help should show help information for 'loader' command using the "--hel Scaffold a loader. +Arguments: + output-path Path to the output directory, e.g. ./loaderName + Options: --template Type of template (default: \\"default\\") @@ -1221,6 +1263,9 @@ exports[`help should show help information for 'n' command using command syntax: Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -1245,6 +1290,9 @@ exports[`help should show help information for 'n' command using the "--help" op Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -1269,6 +1317,9 @@ exports[`help should show help information for 'new' command using command synta Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -1293,6 +1344,9 @@ exports[`help should show help information for 'new' command using the "--help" Initialize a new webpack project. +Arguments: + generation-path Path to the installation directory, e.g. ./projectName + Options: --template Type of template (default: \\"default\\") --force Generate without questions (ideally) using default answers @@ -1317,6 +1371,9 @@ exports[`help should show help information for 'p' command using command syntax: Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1340,6 +1397,9 @@ exports[`help should show help information for 'p' command using the "--help" op Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1363,6 +1423,9 @@ exports[`help should show help information for 'plugin' and respect the "--color Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1387,6 +1450,9 @@ exports[`help should show help information for 'plugin' and respect the "--no-co Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1411,6 +1477,9 @@ exports[`help should show help information for 'plugin' command using command sy Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\") @@ -1434,6 +1503,9 @@ exports[`help should show help information for 'plugin' command using the "--hel Scaffold a plugin. +Arguments: + output-path Path to the output directory, e.g. ./pluginName + Options: --template Type of template (default: \\"default\\")