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

15 lines
375 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 + "/Augeas/root";
var lensDir = Environment.CurrentDirectory + "/Augeas/lens";
return new AugSettings(rootDir, lensDir);
}
}