Skip to content

Commit

Permalink
feat(cli): target net6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bsdayo committed Jun 1, 2023
1 parent 6607c77 commit 551335e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/dotnet-bingchat/Commands/AskCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ public sealed class AskCommand : AsyncCommand<AskCommand.Settings>
{
public class Settings : ChatCommandSettings
{
[CommandArgument(0, "[message]")]
[CommandArgument(0, "<message>")]
[Description("The message to ask")]
public required string[] Message { get; init; }
public string[] Message { get; init; } = Array.Empty<string>();
}

public override async Task<int> ExecuteAsync(CommandContext context, Settings settings)
Expand Down
2 changes: 1 addition & 1 deletion src/dotnet-bingchat/dotnet-bingchat.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>BingChat.Cli</RootNamespace>
Expand Down

0 comments on commit 551335e

Please sign in to comment.