using System.CommandLine; using MycroForge.CLI.Commands.Attributes; using MycroForge.Core.Contract; namespace MycroForge.CLI.Commands; public partial class MycroForge { [RequiresFeature(Features.Db.FeatureName)] public partial class Db : Command, ISubCommandOf { public Db(IEnumerable> commands) : base("db", "Database related commands") { foreach (var command in commands.Cast()) AddCommand(command); } } }