From c3de08ee18cd6fd840e84704ee4f15d7df9c4ca1 Mon Sep 17 00:00:00 2001 From: Alexandr Isaev Date: Fri, 7 Jul 2023 18:25:40 +0300 Subject: [PATCH] feat: added aliases for frequently used cli commands --- src/create-cli.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/create-cli.ts b/src/create-cli.ts index b39e681..23486b5 100644 --- a/src/create-cli.ts +++ b/src/create-cli.ts @@ -110,6 +110,7 @@ export function createCli(argv: string[]) { coerce: (arg) => (arg === undefined ? null : arg), }) .option('entry-filter', { + alias: ['entries', 'e'], group: 'Client', type: 'string', describe: @@ -127,6 +128,7 @@ export function createCli(argv: string[]) { type: 'boolean', }) .option('lazy-compilation', { + alias: ['lazy', 'l'], group: 'Client', type: 'boolean', describe: 'Enable lazy compilation',