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

* Adding a dark mode * Adding reference for types to summary pages * Adding API Reference * Adding modifiers to methods/fields/etc * Minimizing files input * Caching a lot of the output pages * Cache only for each execution * Adding API references to existing docs
14 lines
398 B
C#
14 lines
398 B
C#
using Spectre.Console;
|
|
|
|
namespace Figlet;
|
|
|
|
public static class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
AnsiConsole.Write(new FigletText("Left aligned").LeftAligned().Color(Color.Red));
|
|
AnsiConsole.Write(new FigletText("Centered").Centered().Color(Color.Green));
|
|
AnsiConsole.Write(new FigletText("Right aligned").RightAligned().Color(Color.Blue));
|
|
}
|
|
}
|