mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-09-13 08:45:35 +08:00
Change LogCommandSettings to CommandSettings in example
Instead of `LogCommandSettings` for the `Settings` of the `HelloCommand`
This commit is contained in:
@@ -7,7 +7,7 @@ Commands in `Spectre.Console.Cli` are defined by creating a class that inherits
|
||||
```csharp
|
||||
public class HelloCommand : Command<HelloCommand.Settings>
|
||||
{
|
||||
public class Settings : LogCommandSettings
|
||||
public class Settings : CommandSettings
|
||||
{
|
||||
[CommandArgument(0, "[Name]")]
|
||||
public string Name { get; set; }
|
||||
|
Reference in New Issue
Block a user