InfoCommand repo & module info
This commit is contained in:
@@ -7,7 +7,7 @@ public class ModuleConfiguration
|
||||
|
||||
public string? Install { get; set; }
|
||||
public string? Configure { get; set; }
|
||||
|
||||
|
||||
public ModuleConfiguration(string? target, Dictionary<string, string>? links, string? install, string? configure)
|
||||
{
|
||||
Target = target;
|
||||
|
||||
8
src/Alma.Abstraction/Data/ColorCodes.cs
Normal file
8
src/Alma.Abstraction/Data/ColorCodes.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Alma.Data;
|
||||
|
||||
public static class ColorCodes
|
||||
{
|
||||
public const string Reset = "\u001b[0m";
|
||||
public const string RedForeground = "\u001b[38;5;1m";
|
||||
public const string GreenForeground = "\u001b[38;5;2m";
|
||||
}
|
||||
5
src/Alma.Abstraction/Data/ModuleConfigurationWithName.cs
Normal file
5
src/Alma.Abstraction/Data/ModuleConfigurationWithName.cs
Normal file
@@ -0,0 +1,5 @@
|
||||
using Alma.Configuration.Module;
|
||||
|
||||
namespace Alma.Data;
|
||||
|
||||
public record ModuleConfigurationWithName(string Name, ModuleConfiguration Configuration);
|
||||
Reference in New Issue
Block a user