15 lines
433 B
C#
15 lines
433 B
C#
using System.CommandLine;
|
|
using MycroForge.CLI.Commands.Interfaces;
|
|
|
|
namespace MycroForge.CLI.Commands;
|
|
|
|
public partial class MycroForge : RootCommand
|
|
{
|
|
public override string Name => "m4g";
|
|
|
|
public MycroForge(IEnumerable<ISubCommandOf<MycroForge>> commands) : base("The MycroForge CLI tool.")
|
|
{
|
|
foreach (var subCommandOf in commands.Cast<Command>())
|
|
AddCommand(subCommandOf);
|
|
}
|
|
} |