mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 00:42:51 +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
|
```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; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user