augeas

Configuration file editing tool and API with a unified interface

brewmacoslinux
Try with needOr install directly
Source

About

Configuration editing tool and API

Commands

augtoolaugparse

Examples

Interactive configuration editing session$ augtool
List all Apache configuration settings$ augtool -C ls /augeas/files/etc/apache2/
Get a specific configuration value$ augtool -C get /files/etc/hosts/1/ipaddr