From f2bfa3f31c9c11d542a4eb7e0f4cf4735f827228 Mon Sep 17 00:00:00 2001 From: shreyanshc Date: Mon, 10 Nov 2025 13:17:41 +0530 Subject: [PATCH] added exec auth flags to global flags --- src/commander/commander.ts | 2 ++ src/commander/exec.ts | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commander/commander.ts b/src/commander/commander.ts index 5daf9357..fb85fb07 100644 --- a/src/commander/commander.ts +++ b/src/commander/commander.ts @@ -23,6 +23,8 @@ program .option('--baselineBranch ', 'Mark this build baseline') .option('--baselineBuild ', 'Mark this build baseline') .option('--githubURL ', 'GitHub URL including commitId') + .option('--userName ', 'Specify the LT username') + .option('--accessKey ', 'Specify the LT accesskey') .addCommand(exec) .addCommand(capture) .addCommand(configWeb) diff --git a/src/commander/exec.ts b/src/commander/exec.ts index 88076169..8d94ab02 100644 --- a/src/commander/exec.ts +++ b/src/commander/exec.ts @@ -24,8 +24,6 @@ command .option('--fetch-results [filename]', 'Fetch results and optionally specify an output file, e.g., .json') .option('--buildName ', 'Specify the build name') .option('--scheduled ', 'Specify the schedule ID') - .option('--userName ', 'Specify the LT username') - .option('--accessKey ', 'Specify the LT accesskey') .option('--show-render-errors', 'Show render errors from SmartUI build') .action(async function(execCommand, _, command) { const options = command.optsWithGlobals();