Pretty printers and exporters for 'Config's from the <http://hackage.haskell.org/package/configurator-0.3.0.0 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.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.1.0.1-bp150.2.3 info | GA Release | 2018-08-01 | 15 |
|
|
0.1.0.1-bp150.2.5 info | GA Release | 2018-07-31 | 15 |
|
|
0.1.0.1-bp150.2.7 info | GA Release | 2018-07-30 | 15 |
|
|