Sharp.Augeas/CodeLiturgy.Augeas/Program.cs

7 lines
273 B
C#

using CodeLiturgy.Augeas.Test;
var path = Environment.CurrentDirectory;
var root = $"{path}/root/";
AugSettings augSettings = new AugSettings(root, "/opt/homebrew/share/augeas/lenses/dist");
BlueWestAugeas.printAugTree(augSettings, "/files/etc/hosts/*", "/etc/hosts");