From c7d85737028a2a3f49e065a08a1256dff0462b13 Mon Sep 17 00:00:00 2001 From: "Martin Hinshelwood nkdAgility.com" Date: Tue, 2 Jul 2024 18:35:55 +0100 Subject: [PATCH] Update thos edefaults+ --- AzureDevOps.WorkItemClone.ConsoleUI/Commands/CommandSettings.cs | 2 +- .../Properties/launchSettings.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AzureDevOps.WorkItemClone.ConsoleUI/Commands/CommandSettings.cs b/AzureDevOps.WorkItemClone.ConsoleUI/Commands/CommandSettings.cs index 5e4c4af..7a73c33 100644 --- a/AzureDevOps.WorkItemClone.ConsoleUI/Commands/CommandSettings.cs +++ b/AzureDevOps.WorkItemClone.ConsoleUI/Commands/CommandSettings.cs @@ -12,7 +12,7 @@ namespace AzureDevOps.WorkItemClone.ConsoleUI.Commands internal class BaseCommandSettings : CommandSettings { [Description("Pre configure paramiters using this config file. Run `Init` to create it.")] - [CommandOption("--config")] + [CommandOption("--config|--configFile")] [DefaultValue("configuration.json")] [JsonIgnore] public string? configFile { get; set; } diff --git a/AzureDevOps.WorkItemClone.ConsoleUI/Properties/launchSettings.json b/AzureDevOps.WorkItemClone.ConsoleUI/Properties/launchSettings.json index 92178e9..75a2962 100644 --- a/AzureDevOps.WorkItemClone.ConsoleUI/Properties/launchSettings.json +++ b/AzureDevOps.WorkItemClone.ConsoleUI/Properties/launchSettings.json @@ -6,7 +6,7 @@ }, "Clone": { "commandName": "Project", - "commandLineArgs": "clone --RunName Run1 --jsonFile ..\\..\\..\\..\\..\\TestData\\ADO_TESTProjPipline_V03.json " + "commandLineArgs": "clone --RunName Run1 --cachePath ..\\..\\..\\..\\..\\.cache\\ --configFile ..\\..\\..\\..\\..\\.cache\\configuration.json --jsonFile ..\\..\\..\\..\\..\\TestData\\ADO_TESTProjPipline_V03.json " }, "empty": { "commandName": "Project"