From 304fc58a17cfeb15a4c0532ad79aa9f181263eb5 Mon Sep 17 00:00:00 2001 From: Carlos Cuesta Date: Thu, 7 Sep 2023 13:03:47 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20Rename=20`alias`=20to=20`shortFl?= =?UTF-8?q?ag`=20in=20`cli`=20for=20`meow`=20(#1195)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🚚 Rename `alias` to `shortFlag` in `cli` --- src/cli.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/cli.ts b/src/cli.ts index 37d951bac..d793a3654 100755 --- a/src/cli.ts +++ b/src/cli.ts @@ -44,15 +44,15 @@ const cli = meow( { importMeta: { url: import.meta.url } as ImportMeta, flags: { - [FLAGS.COMMIT]: { type: 'boolean', alias: 'c' }, - [FLAGS.CONFIG]: { type: 'boolean', alias: 'g' }, - [FLAGS.HELP]: { type: 'boolean', alias: 'h' }, - [FLAGS.INIT]: { type: 'boolean', alias: 'i' }, - [FLAGS.LIST]: { type: 'boolean', alias: 'l' }, - [FLAGS.REMOVE]: { type: 'boolean', alias: 'r' }, - [FLAGS.SEARCH]: { type: 'boolean', alias: 's' }, - [FLAGS.UPDATE]: { type: 'boolean', alias: 'u' }, - [FLAGS.VERSION]: { type: 'boolean', alias: 'v' } + [FLAGS.COMMIT]: { type: 'boolean', shortFlag: 'c' }, + [FLAGS.CONFIG]: { type: 'boolean', shortFlag: 'g' }, + [FLAGS.HELP]: { type: 'boolean', shortFlag: 'h' }, + [FLAGS.INIT]: { type: 'boolean', shortFlag: 'i' }, + [FLAGS.LIST]: { type: 'boolean', shortFlag: 'l' }, + [FLAGS.REMOVE]: { type: 'boolean', shortFlag: 'r' }, + [FLAGS.SEARCH]: { type: 'boolean', shortFlag: 's' }, + [FLAGS.UPDATE]: { type: 'boolean', shortFlag: 'u' }, + [FLAGS.VERSION]: { type: 'boolean', shortFlag: 'v' } } } )