SDT/Program.cs
stan44 d5a74be368 Add guided CLI workflows and config commands
- introduce `sdt` subcommands for run, debug, setup, env, favorite, and explain
- add project/workspace discovery plus config bootstrap and migration helpers
- expand tests for CLI parsing, project role detection, and headless flows
2026-03-29 22:22:48 -05:00

16 lines
356 B
C#

using Sdt.Cli;
using Sdt.Tui;
using Spectre.Console;
try
{
var app = new CliApplication();
return await app.RunAsync(Environment.GetCommandLineArgs().Skip(1).ToArray());
}
catch (Exception ex)
{
AnsiConsole.MarkupLine(Theme.Fail($"Fatal: {ex.Message}"));
AnsiConsole.WriteException(ex, ExceptionFormats.ShortenEverything);
return 1;
}