Add requires, exclusive and recommended fragments interpreted by the builder
This commit is contained in:
17
docker-compose-generator/src/ConsoleUtils.cs
Normal file
17
docker-compose-generator/src/ConsoleUtils.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace DockerGenerator
|
||||
{
|
||||
public static class ConsoleUtils
|
||||
{
|
||||
public static void WriteLine(string message, ConsoleColor color)
|
||||
{
|
||||
var old = Console.ForegroundColor;
|
||||
Console.ForegroundColor = color;
|
||||
Console.WriteLine(message);
|
||||
Console.ForegroundColor = old;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user