diff --git a/tools/spec-gen-sdk/src/cli/cli.ts b/tools/spec-gen-sdk/src/cli/cli.ts index aa68b0cb1d2..db84dbfb9c2 100644 --- a/tools/spec-gen-sdk/src/cli/cli.ts +++ b/tools/spec-gen-sdk/src/cli/cli.ts @@ -16,7 +16,6 @@ export type SpecGenSdkCliConfig = { env: string; workingFolder: string; isTriggeredByPipeline: boolean; - githubToken: string; localSpecRepoPath: string; localSdkRepoPath: string; tspConfigPath?: string; @@ -35,7 +34,6 @@ const initCliConfig = (argv) : SpecGenSdkCliConfig => { env: argv.env, workingFolder: argv.workingFolder, isTriggeredByPipeline: argv.isTriggeredByPipeline, - githubToken: argv.githubToken, localSpecRepoPath: argv.localSpecRepoPath, localSdkRepoPath: argv.localSdkRepoPath, tspConfigPath: argv.tspConfigRelativePath, @@ -134,10 +132,6 @@ yargs(hideBin(process.argv)) description: 'Flag to indicate if triggered by pipeline', default: false, }, - 'github-token': { - type: "string", - description: "The token to access the github repository", - }, 'tsp-config-relative-path': { type: "string", description: "Path to the tsp config file from the root folder of specification repository. Example: specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml",