Mixonomer.NET/Mixonomer.CLI/Program.cs

22 lines
429 B
C#
Raw Normal View History

2022-08-03 22:51:39 +01:00
using System;
2023-10-12 19:51:29 +01:00
using System.Linq;
2022-08-07 13:54:29 +01:00
using Mixonomer.Fire;
2022-08-03 22:51:39 +01:00
using System.Threading.Tasks;
2023-10-12 19:51:29 +01:00
using Mixonomer.Fire.Extensions;
2022-08-03 22:51:39 +01:00
2022-08-07 13:54:29 +01:00
namespace Mixonomer.CLI
2022-08-03 22:51:39 +01:00
{
class Program
{
static async Task Main(string[] args)
{
2023-10-12 19:51:29 +01:00
var repo = new UserRepo(projectId: "mixonomer-test");
2022-08-03 22:51:39 +01:00
2023-10-12 19:51:29 +01:00
var userContext = await repo.GetUserContext("andy");
2022-08-03 22:51:39 +01:00
2023-10-12 19:51:29 +01:00
Console.WriteLine(userContext.User);
2022-08-03 22:51:39 +01:00
}
}
}