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

15 lines
361 B
C#
Raw Normal View History

2022-12-05 02:07:41 +03:00
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);
}
}