Abstraction to be able to use augeas with C# / .NET.
Go to file
code liturgy 5adc8c28ef Add tests 2022-11-08 12:57:02 -05:00
Sharp.Augeas Add tests 2022-11-08 12:57:02 -05:00
Sharp.Augeas.Test Add tests 2022-11-08 12:57:02 -05:00
.gitignore init 2022-11-04 00:40:02 +00:00
README.md Add tests 2022-11-08 12:57:02 -05:00
Sharp.Augeas.sln Add tests 2022-11-08 12:57:02 -05:00

README.md

Sharp.Augeas

Sharp.Augeas implements an abstraction to be able to use augeas with C# / .NET. it provides a managed class that takes into account the life cycle of the application.

Note: Currently the focus is abstractions with a focus on handling Apache configurations. In the future these abstractions may be associated with various other configurations.

Instructions

Copy Native wrapper library

cd Sharp.Augeas && ./copyLibrary.sh

Augeas

Augeas must be installed on the system, and the environment variable "AUG_LENS_PATH" must be populated, otherwise an exception will be thrown.

  • Mac Os os example, after installing using brew: export AUG_LENS_PATH=/opt/homebrew/share/augeas/lenses/dist

  • Debian / Ubuntu (Using package manager): export AUG_LENS_PATH=/opt/homebrew/share/augeas/lenses/dist