using System.CommandLine; using MycroForge.Core.Contract; namespace MycroForge.CLI.Commands; public partial class MycroForge { public partial class Plugin : Command, ISubCommandOf { public Plugin(IEnumerable> commands) : base("plugin", "Plugin related commands") { AddAlias("p"); foreach (var command in commands.Cast()) AddCommand(command); } } }