CodeLiturgy.Dashboard/CodeLiturgy.Views/Augeas/AugeasExtensions.cs

15 lines
361 B
C#

using Sharp.Augeas;
namespace CodeLiturgy.Views.Augeas;
public static class AugeasExtensions
{
public static AugSettings GetSettings()
{
// if DEBUG we use this
var rootDir = Environment.CurrentDirectory + "/root";
var lensDir = Environment.CurrentDirectory + "/lens";
return new AugSettings(rootDir, lensDir);
}
}