using System.CommandLine; using MycroForge.Core.Contract; namespace MycroForge.CLI.Commands; public partial class MycroForge { public partial class Api : Command, ISubCommandOf { public Api(IEnumerable> commands) : base("api", "API related commands") { foreach (var command in commands) AddCommand((command as Command)!); } } }