Esempio n. 1
0
        static void generateStandup(int offset = 0, bool showOnCompletion = true)
        {
            KanbanFlow kb = new KanbanFlow();

            kb.SignIn();
            kb.populateBoard();
            kb.populateDueDates();

            CalendarServices cs = new CalendarServices();

            cs.SignIn();

            WeatherClient wc = new WeatherClient();

            wc.SetToken();

            StandupReport report = new StandupReport(cs, kb, wc);
            string        path   = report.GenerateReport(offset);

            if (showOnCompletion && path != "")
            {
                Process p = new Process();
                p.StartInfo = new ProcessStartInfo(path);
                p.Start();
            }
        }