From 47293d1c467e9b66290c1f4ca578c74aa2595295 Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 3 Jul 2024 09:02:14 -0700 Subject: [PATCH] Add missing char shortcut for --space (#2908) --- packages/cli/src/commands/spaces/transfer.ts | 2 +- packages/cli/src/commands/spaces/trusted-ips/remove.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/commands/spaces/transfer.ts b/packages/cli/src/commands/spaces/transfer.ts index 1d06f294cd..29875e65df 100644 --- a/packages/cli/src/commands/spaces/transfer.ts +++ b/packages/cli/src/commands/spaces/transfer.ts @@ -12,7 +12,7 @@ export default class Transfer extends Command { `)] static flags = { - space: flags.string({required: true, description: 'name of space'}), + space: flags.string({required: true, char: 's', description: 'name of space'}), team: flags.string({required: true, description: 'desired owner of space'}), } diff --git a/packages/cli/src/commands/spaces/trusted-ips/remove.ts b/packages/cli/src/commands/spaces/trusted-ips/remove.ts index f18f91fb99..d63bbe6145 100644 --- a/packages/cli/src/commands/spaces/trusted-ips/remove.ts +++ b/packages/cli/src/commands/spaces/trusted-ips/remove.ts @@ -17,7 +17,7 @@ export default class Remove extends Command { `)] static flags = { - space: flags.string({optional: false, description: 'space to remove rule from'}), + space: flags.string({required: true, char: 's', description: 'space to remove rule from'}), confirm: flags.string({description: 'set to space name to bypass confirm prompt'}), }