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
|
2022-12-06 17:33:12 +03:00
|
|
|
var rootDir = Environment.CurrentDirectory + "/Augeas/root";
|
|
|
|
var lensDir = Environment.CurrentDirectory + "/Augeas/lens";
|
2022-12-05 02:07:41 +03:00
|
|
|
|
|
|
|
return new AugSettings(rootDir, lensDir);
|
|
|
|
}
|
|
|
|
}
|