18 lines
511 B
C#
18 lines
511 B
C#
using System.CommandLine;
|
|
using MycroForge.CLI.Commands.Interfaces;
|
|
|
|
namespace MycroForge.CLI.Commands;
|
|
|
|
public partial class MycroForge
|
|
{
|
|
public partial class Script : Command, ISubCommandOf<MycroForge>
|
|
{
|
|
public Script(IEnumerable<ISubCommandOf<Script>> commands) :
|
|
base("script", "Script related commands")
|
|
{
|
|
AddAlias("s");
|
|
foreach (var command in commands.Cast<Command>())
|
|
AddCommand(command);
|
|
}
|
|
}
|
|
} |