Exemplo n.º 1
0
 public static void OutputWarning(this ITerminal terminal, string content) => terminal.OutputColor(ForegroundColorSpan.Yellow(), content);
Exemplo n.º 2
0
 public static TextSpan Yellow(this string value) =>
 new ContainerSpan(ForegroundColorSpan.Yellow(),
                   new ContentSpan(value),
                   ForegroundColorSpan.Reset());
Exemplo n.º 3
0
 public void WriteWarning(string content) => WriteColor(ForegroundColorSpan.Yellow(), content);