mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
feat: background gray messages
This commit is contained in:
1 parent
2c059cdc59
commit
56ca3e5ed4
2 files changed
+10
-3
No files matched your search
@@ -35,7 +35,7 @@ namespace BlitzKit.CLI.Models
|
||||
|
||||
if (response.StatusCode == HttpStatusCode.NotFound)
|
||||
{
|
||||
Console.WriteLine(
|
||||
PrettyLog.Background(
|
||||
$"🟢 (+{change.Content.Count.ToString("N0", Program.Culture)}B) {blobPath}"
|
||||
);
|
||||
changes.Add(change);
|
||||
@@ -70,14 +70,14 @@ namespace BlitzKit.CLI.Models
|
||||
|
||||
if (isDifferent)
|
||||
{
|
||||
Console.WriteLine(
|
||||
PrettyLog.Background(
|
||||
$"🟡 ({(deltaSize > 0 ? "+" : "")}{deltaSize.ToString("N0", Program.Culture)}B) {blobPath}"
|
||||
);
|
||||
changes.Add(change);
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine($"🔵 {blobPath}");
|
||||
PrettyLog.Background($"🔵 {blobPath}");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,5 +27,12 @@ namespace BlitzKit.CLI.Utils
|
||||
Console.WriteLine(message);
|
||||
Console.ResetColor();
|
||||
}
|
||||
|
||||
public static void Background(string message)
|
||||
{
|
||||
Console.ForegroundColor = ConsoleColor.DarkGray;
|
||||
Console.WriteLine(message);
|
||||
Console.ResetColor();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user