-
Notifications
You must be signed in to change notification settings - Fork 0
/
Program.cs
35 lines (28 loc) · 887 Bytes
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using McMaster.Extensions.CommandLineUtils;
using Microsoft.Extensions.Logging;
using Serilog;
using Serilog.Settings.Configuration;
using StreamDeckLib;
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using System.Diagnostics;
namespace PhilipsHueSdPlugin
{
class Program
{
static async Task Main(string[] args)
{
using (var config = StreamDeckLib.Config.ConfigurationBuilder.BuildDefaultConfiguration(args))
{
await ConnectionManager.Initialize(args, config.LoggerFactory)
.RegisterAllActions(typeof(Program).Assembly)
.StartAsync();
}
}
}
}