From 810e045dd8a98d02809deb81dafa302a2ecb3938 Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Tue, 23 Jun 2020 16:33:57 +0530 Subject: [PATCH] feat: add aliases for all available commands --- packages/webpack-cli/lib/utils/cli-flags.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/webpack-cli/lib/utils/cli-flags.js b/packages/webpack-cli/lib/utils/cli-flags.js index 4c85a6547f9..6b3e4f7cb4a 100644 --- a/packages/webpack-cli/lib/utils/cli-flags.js +++ b/packages/webpack-cli/lib/utils/cli-flags.js @@ -26,6 +26,7 @@ module.exports = { }, { name: 'migrate', + alias: 'm', type: String, usage: 'migrate', description: 'Migrate a configuration to a new version', @@ -49,6 +50,7 @@ module.exports = { { name: 'info', scope: 'external', + alias: 'i', type: String, usage: 'info [options]', description: 'Outputs information about your system and dependencies', @@ -63,6 +65,7 @@ module.exports = { }, { name: 'serve', + alias: 's', scope: 'external', type: String, usage: 'serve',