adds root directory path to the piwigo list
All checks were successful
PiwigoDirectorySync/pipeline/head This commit looks good

This commit is contained in:
Philipp Häfelfinger 2023-09-13 23:38:25 +02:00
parent f29cb9d373
commit b0f211f568

View File

@ -31,10 +31,11 @@ internal class PiwigoListCommand : CancellableAsyncCommand<PiwigoListCommand.Piw
table.AddColumn("Name"); table.AddColumn("Name");
table.AddColumn("User"); table.AddColumn("User");
table.AddColumn("Url"); table.AddColumn("Url");
table.AddColumn("Path");
foreach (var piwigoServer in piwigoServers) foreach (var piwigoServer in piwigoServers)
{ {
table.AddRow($"[green]{piwigoServer.Id}[/]", piwigoServer.Name, piwigoServer.Username, piwigoServer.Url); table.AddRow($"[green]{piwigoServer.Id}[/]", piwigoServer.Name, piwigoServer.Username, piwigoServer.Url, piwigoServer.RootDirectory);
} }
AnsiConsole.Write(table); AnsiConsole.Write(table);