feat: begin working on console app

This commit is contained in:
Stevan Freeborn
2025-02-09 15:54:48 -06:00
parent 1ac200a65b
commit 92c0bee83b
8 changed files with 133 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
// TODO: We want to be able
// to provide a path to an image
// read the image
// and then post the image to our API
// get the response and display the alt text
using Microsoft.Extensions.Hosting;
await Host.CreateDefaultBuilder(args)
.ConfigureServices(static (_, services) => { })
.Build() // TODO: Need special extension for integrating host with Spectre.Console
.RunAsync();
Console.WriteLine("Hello, World!");