From 5a6eb0282972df2e002db66a6e29c797d32be430 Mon Sep 17 00:00:00 2001 From: Begona Guereca Date: Thu, 5 Jan 2023 10:31:13 -0800 Subject: [PATCH] Updating options on GH-Valet with new ADO options (#104) * Updating options on GH valet for new ADO configs * Update audit option * update dry run options * remove space * Add option * Updated location of source file * Pipeline id is not required for build pipelines now with config/source files * typo --- src/Valet/Commands/AzureDevOps/Audit.cs | 7 +++++++ .../Commands/AzureDevOps/BuildPipeline/DryRun.cs | 6 +++++- .../AzureDevOps/BuildPipeline/Migrate.cs | 6 +++++- src/Valet/Commands/AzureDevOps/Common.cs | 16 ++++++++++++++-- src/Valet/Commands/AzureDevOps/DryRun.cs | 1 - src/Valet/Commands/AzureDevOps/Migrate.cs | 1 - .../AzureDevOps/ReleasePipeline/DryRun.cs | 4 +++- .../AzureDevOps/ReleasePipeline/Migrate.cs | 5 ++++- 8 files changed, 38 insertions(+), 8 deletions(-) diff --git a/src/Valet/Commands/AzureDevOps/Audit.cs b/src/Valet/Commands/AzureDevOps/Audit.cs index 9425971..0f4ebf6 100644 --- a/src/Valet/Commands/AzureDevOps/Audit.cs +++ b/src/Valet/Commands/AzureDevOps/Audit.cs @@ -13,7 +13,14 @@ public Audit(string[] args) protected override string Name => "azure-devops"; protected override string Description => "An audit will output a list of data used in an Azure DevOps instance."; + private static readonly Option ConfigFilePath = new("--config-file-path") + { + Description = "The file path corresponding to the Azure DevOps configuration file.", + IsRequired = false, + }; + protected override ImmutableArray