Change LogCommandSettings to CommandSettings in example

Instead of `LogCommandSettings` for the `Settings` of the `HelloCommand`
This commit is contained in:
Nils Andresen 2021-07-15 09:39:25 +02:00 committed by GitHub
parent fa5a1e88ec
commit 32d7ea15bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ Commands in `Spectre.Console.Cli` are defined by creating a class that inherits
```csharp ```csharp
public class HelloCommand : Command<HelloCommand.Settings> public class HelloCommand : Command<HelloCommand.Settings>
{ {
public class Settings : LogCommandSettings public class Settings : CommandSettings
{ {
[CommandArgument(0, "[Name]")] [CommandArgument(0, "[Name]")]
public string Name { get; set; } public string Name { get; set; }