Skip to content

Commit d2671e8

Browse files
committed
refactor: remove --name and --yes flags from import gateway command
Remove --name (confusing local rename) and --yes (no prompts to confirm) from the gateway import command. The gateway's AWS name is used directly.
1 parent 02f7cd3 commit d2671e8

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/cli/commands/import/import-gateway.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,8 +612,6 @@ export function registerImportGateway(importCmd: Command): void {
612612
.command('gateway')
613613
.description('Import an existing AgentCore Gateway (with targets) from your AWS account')
614614
.option('--arn <gatewayArn>', 'Gateway ARN to import')
615-
.option('--name <name>', 'Local name for the imported gateway')
616-
.option('-y, --yes', 'Auto-confirm prompts')
617615
.action(async (cliOptions: ImportResourceOptions) => {
618616
const result = await handleImportGateway(cliOptions);
619617

0 commit comments

Comments
 (0)