static void Main(string[] args) { HeadTracker tracker = new HeadTracker(); tracker.InitTracker(); tracker.StartTracking(); }
static void Main(string[] args) { Parser.Default.ParseArguments <Options>(args) .WithParsed <Options>(o => { HeadTracker tracker = new HeadTracker(); tracker.InitTracker(o); tracker.StartTracking(); }); }