mirror of
https://github.com/spectreconsole/examples.git
synced 2025-10-25 15:19:18 +00:00
Initial commits
This commit is contained in:
13
examples/Console/Figlet/Program.cs
Normal file
13
examples/Console/Figlet/Program.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user