diff --git a/Guppi.Console/Guppi.Console.csproj b/Guppi.Console/Guppi.Console.csproj index c5c7ed7..3a77564 100644 --- a/Guppi.Console/Guppi.Console.csproj +++ b/Guppi.Console/Guppi.Console.csproj @@ -13,7 +13,7 @@ https://github.com/rprouse/guppi https://github.com/rprouse/guppi dotnet-guppi - 6.5.3 + 6.5.4 true guppi ./nupkg diff --git a/Guppi.Console/Properties/launchSettings.json b/Guppi.Console/Properties/launchSettings.json index 8d178a1..cb382ac 100644 --- a/Guppi.Console/Properties/launchSettings.json +++ b/Guppi.Console/Properties/launchSettings.json @@ -4,6 +4,10 @@ "commandName": "Project", "commandLineArgs": "weather sunrise" }, + "Guppi weather daily": { + "commandName": "Project", + "commandLineArgs": "weather daily" + }, "Guppi todo sync": { "commandName": "Project", "commandLineArgs": "todo sync" diff --git a/Guppi.Console/Skills/WeatherSkill.cs b/Guppi.Console/Skills/WeatherSkill.cs index dd55d02..4c48745 100644 --- a/Guppi.Console/Skills/WeatherSkill.cs +++ b/Guppi.Console/Skills/WeatherSkill.cs @@ -38,6 +38,8 @@ public IEnumerable GetCommands() var sunrise = new Command("sunrise", "Views sunrise and sunset times") { location }; sunrise.Handler = CommandHandler.Create(async (string location) => await Sunrise(location)); + sunrise.AddAlias("sunset"); + sunrise.AddAlias("sun"); var configure = new Command("configure", "Configures the weather provider"); configure.AddAlias("config"); @@ -154,7 +156,7 @@ private static IEnumerable WeatherLineThree(DailyWeather[] daily) private static IEnumerable WeatherLineFour(DailyWeather[] daily) { for (int i = 0; i < 4 && i < daily.Length; i++) - yield return new Markup($"{daily[i].AsciiIcon[3]} [skyblue2]:droplet:{daily[i].Rain}mm[/] [grey89]:snowflake:{daily[i].Snow}mm[/]"); + yield return new Markup($"{daily[i].AsciiIcon[3]} [skyblue2]:droplet:{daily[i].Rain}mm[/] [grey89]:snowflake: {daily[i].Snow}mm[/]"); } private static IEnumerable WeatherLineFive(DailyWeather[] daily)