using System.CommandLine; using MycroForge.CLI.Commands.Interfaces; namespace MycroForge.CLI.Commands; public partial class MycroForge { public partial class Api { public partial class Generate : Command, ISubCommandOf { public Generate(IEnumerable> subCommands) : base("generate", "Generate an API item") { AddAlias("g"); foreach (var subCommandOf in subCommands.Cast()) AddCommand(subCommandOf); } } } }