mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-19 21:38:16 +08:00

committed by
Patrik Svensson

parent
913a7b1e37
commit
a23bec4082
@ -2,7 +2,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using Spectre.Console.Cli.Unsafe;
|
||||
|
||||
namespace Spectre.Console.Cli.Internal
|
||||
namespace Spectre.Console.Cli
|
||||
{
|
||||
internal sealed class Configurator : IUnsafeConfigurator, IConfigurator, IConfiguration
|
||||
{
|
||||
@ -33,7 +33,7 @@ namespace Spectre.Console.Cli.Internal
|
||||
where TDefaultCommand : class, ICommand
|
||||
{
|
||||
DefaultCommand = ConfiguredCommand.FromType<TDefaultCommand>(
|
||||
Constants.DefaultCommandName, isDefaultCommand: true);
|
||||
CliConstants.DefaultCommandName, isDefaultCommand: true);
|
||||
}
|
||||
|
||||
public ICommandConfigurator AddCommand<TCommand>(string name)
|
||||
|
Reference in New Issue
Block a user