mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 00:42:51 +08:00

* Renames Spectre.Cli to Spectre.Console.Cli. * Now uses Verify with Spectre.Console.Cli tests. * Removes some duplicate definitions. Closes #168
15 lines
445 B
C#
15 lines
445 B
C#
using Spectre.Console;
|
|
|
|
namespace EmojiExample
|
|
{
|
|
public static class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
AnsiConsole.Render(new FigletText("Left aligned").LeftAligned().Color(Color.Red));
|
|
AnsiConsole.Render(new FigletText("Centered").Centered().Color(Color.Green));
|
|
AnsiConsole.Render(new FigletText("Right aligned").RightAligned().Color(Color.Blue));
|
|
}
|
|
}
|
|
}
|