mirror of
https://github.com/spectreconsole/examples.git
synced 2025-10-25 15:19:18 +00:00
14 lines
402 B
C#
14 lines
402 B
C#
using Spectre.Console;
|
|
|
|
namespace Figlet;
|
|
|
|
public static class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
AnsiConsole.Write(new FigletText("Left aligned").LeftJustified().Color(Color.Red));
|
|
AnsiConsole.Write(new FigletText("Centered").Centered().Color(Color.Green));
|
|
AnsiConsole.Write(new FigletText("Right aligned").RightJustified().Color(Color.Blue));
|
|
}
|
|
}
|