From ea3be347e847603304ef6cb31fa2a43a8556f951 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sun, 30 Jan 2022 10:30:07 +0100 Subject: [PATCH] fix(data): make cli nostale data path argument greedy --- Data/NosSmooth.Data.CLI/Commands/MigrateDatabaseCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Data/NosSmooth.Data.CLI/Commands/MigrateDatabaseCommand.cs b/Data/NosSmooth.Data.CLI/Commands/MigrateDatabaseCommand.cs index 066f204..7614ff4 100644 --- a/Data/NosSmooth.Data.CLI/Commands/MigrateDatabaseCommand.cs +++ b/Data/NosSmooth.Data.CLI/Commands/MigrateDatabaseCommand.cs @@ -38,7 +38,7 @@ public class MigrateDatabaseCommand : CommandGroup /// The directory with nostale data files. /// A representing the asynchronous operation. [Command("migrate")] - public async Task HandleMigrate(string nostaleDataPath) + public async Task HandleMigrate([Greedy] string nostaleDataPath) { var parsingResult = _parser.ParseFiles ( -- 2.48.1