mycroforge/MycroForge.CLI/Commands/MycroForge.Add.cs
2024-04-23 08:56:01 +02:00

17 lines
505 B
C#

using System.CommandLine;
using MycroForge.CLI.Commands.Interfaces;
namespace MycroForge.CLI.Commands;
public partial class MycroForge
{
public new partial class Add : Command, ISubCommandOf<MycroForge>
{
public Add(IEnumerable<ISubCommandOf<Add>> subCommands) :
base("add", "Add a predefined feature to your project")
{
foreach (var subCommandOf in subCommands)
AddCommand((subCommandOf as Command)!);
}
}
}