feat: Dynamic command loader, default command with module registry
This commit is contained in:
15
Common/ICommandModule.cs
Normal file
15
Common/ICommandModule.cs
Normal file
@ -0,0 +1,15 @@
|
||||
namespace Automancer.Common;
|
||||
|
||||
using Spectre.Console.Cli;
|
||||
|
||||
public interface ICommandModule
|
||||
{
|
||||
|
||||
void Configure(IConfigurator config);
|
||||
|
||||
}
|
||||
|
||||
public interface ICommandModuleWithRegistry : ICommandModule
|
||||
{
|
||||
void Configure(IConfigurator config, CommandRegistry registry);
|
||||
}
|
Reference in New Issue
Block a user