configurator-export-0.1.0.1: Pretty printer and exporter for configurations from the "configurator" library.
Pretty printers and exporters for Config
s from the
configurator
library, in Data.Configurator.
All results are intended to be valid parsing files in the configuration file syntax of the library.
For a full round trip:
main = do cfg <- load [Required "config.cfg"] writeConf "config.cfg" cfg
This should load the config file, parse it, and then re-export it, rewriting the original config file. The result should be an identical configuration file (with keys potentially re-arranged and re-sorted, comments removed, etc.)
See the Data.Configurator.Export module for more details and ways to modify the output style.
Documentation maintained at https://mstksg.github.io/configurator-export
- Data
- Configurator
- Data.Configurator.Export Pretty printers and exporters for configurator
Config
s.
- Data.Configurator.Export Pretty printers and exporters for configurator
- Configurator