using Spectre.Console;

AnsiConsole.Write(new Rule("[deepskyblue1]Mission Control[/]").RuleStyle("gray"));

var missions = new Table()
    .Border(TableBorder.Rounded)
    .AddColumn("Mission")
    .AddColumn("Destination")
    .AddColumn(new TableColumn("Crew").RightAligned())
    .AddRow("Asteria", "Moon", "4")
    .AddRow("Daedalus", "Mars", "6")
    .AddRow("Odyssey", "Europa", "5");

AnsiConsole.Write(missions);

var callSign = AnsiConsole.Ask<string>("Enter your [green]call sign[/]:");

AnsiConsole.MarkupLineInterpolated($"[bold deepskyblue1]Welcome aboard, {callSign}![/]");
