mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-14 16:02:50 +08:00
Change LogCommandSettings to CommandSettings in example
Instead of `LogCommandSettings` for the `Settings` of the `HelloCommand`
This commit is contained in:
parent
fa5a1e88ec
commit
32d7ea15bd
@ -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; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user