diff --git a/Tools/CodexNetDeployer/CodexNodeStarter.cs b/Tools/CodexNetDeployer/CodexNodeStarter.cs index b89acf2..f1cfed4 100644 --- a/Tools/CodexNetDeployer/CodexNodeStarter.cs +++ b/Tools/CodexNetDeployer/CodexNodeStarter.cs @@ -27,7 +27,8 @@ namespace CodexNetDeployer public CodexNodeStartResult? Start(int i) { var name = GetCodexContainerName(i); - Console.Write($" - {i} ({name}) \t= "); + Console.Write($" - {i} ({name})"); + Console.CursorLeft = 30; ICodexNode? codexNode = null; try diff --git a/Tools/CodexNetDeployer/Deployer.cs b/Tools/CodexNetDeployer/Deployer.cs index f06e91c..ec370b2 100644 --- a/Tools/CodexNetDeployer/Deployer.cs +++ b/Tools/CodexNetDeployer/Deployer.cs @@ -32,9 +32,12 @@ namespace CodexNetDeployer Log("Using plugins:" + Environment.NewLine); var metadata = ep.GetPluginMetadata(); + var longestKey = metadata.Keys.Max(k => k.Length); foreach (var entry in metadata) { - Log($"{entry.Key} = {entry.Value}"); + Console.Write(entry.Key); + Console.CursorLeft = longestKey + 5; + Console.WriteLine($"= {entry.Value}"); } Log(""); }