name: configurator-export version: 0.1.0.0 synopsis: Pretty printer and exporter for configurations from the "configurator" library. description: Pretty printers and exporters for 'Config's from the 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. homepage: http://github.com/mstksg/configurator-export license: BSD3 license-file: LICENSE author: Justin Le maintainer: justin@jle.im copyright: (c) Justin Le 2016 category: Configuration, Data build-type: Simple extra-source-files: README.md CHANGELOG.md cabal-version: >=1.10 library hs-source-dirs: src exposed-modules: Data.Configurator.Export build-depends: base >= 4.7 && < 5 , configurator , pretty , semigroups , text , unordered-containers ghc-options: -Wall default-language: Haskell2010 test-suite configurator-export-test type: exitcode-stdio-1.0 hs-source-dirs: test main-is: Spec.hs build-depends: base , configurator-export ghc-options: -threaded -rtsopts -with-rtsopts=-N default-language: Haskell2010 source-repository head type: git location: https://github.com/mstksg/configurator-export