configurator-export: 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.
[Skip to Readme]
Downloads
- configurator-export-0.1.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0.0, 0.1.0.1 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.6 && <5), base-compat, bifunctors, configurator, pretty, semigroups (>=0.17), text, unordered-containers [details] |
License | BSD-3-Clause |
Copyright | (c) Justin Le 2016 |
Author | Justin Le |
Maintainer | justin@jle.im |
Category | Configuration, Data |
Home page | http://github.com/mstksg/configurator-export |
Source repo | head: git clone https://github.com/mstksg/configurator-export |
Uploaded | by jle at 2016-05-08T01:28:43Z |
Distributions | LTSHaskell:0.1.0.1, NixOS:0.1.0.1, Stackage:0.1.0.1 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 2268 total (10 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2016-05-08 [all 1 reports] |