diff options
Diffstat (limited to 'Program.cs')
| -rw-r--r-- | Program.cs | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,7 @@ using System.IO; using System.Runtime.InteropServices; using hyprwatch.Logger; +using hyprwatch.Report.Weekly; class Program { @@ -11,7 +12,7 @@ class Program string dailyDataDirectory = Path.Combine(hyprwatchDirectory, "daily_data"); Directory.CreateDirectory(dailyDataDirectory); - if (args.Length == 0 || args[0] != "-d" && args[0] != "--show") + if (args.Length == 0 || args[0] != "-d" && args[0] != "--show" && args[0] != "--weekly") { Console.WriteLine("Usage: -d || --show"); return; @@ -75,6 +76,10 @@ class Program } } + if(args[0] == "--weekly") + { + WeeklyReport.DisplayWeeklyReport(); + } } } |
