cfv: A simple file format for configuration variables

[ bsd3, development, library, program ] [ Propose Tags ] [ Report a vulnerability ]

Declare configuration variables in a '.cfv' file and parse them.

An example of the contents of a CFV file is:

-- a comment
greeting = 'hello';                   -- single-quoted string
empty    = "";                        -- double-quoted string
now      = `date +%s`;                -- run shell command
home'    = `echo "$HOME"`;            -- access to your shells PATH
secret api_key = "password/token/key" -- a secret variable (public is default)

For more information on the syntax of variable declarations see Configuration.Cfv.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5), bytestring (>=0.12.2 && <0.13), cfv, containers (>=0.8 && <0.9), filepath (>=1.5.4 && <1.6), megaparsec (>=9.8.3 && <9.9), mtl (>=2.3.1 && <2.4), process (>=1.6.26 && <1.7), text (>=2.1.3 && <2.2) [details]
Tested with ghc ==9.8.4, ghc ==9.10.1, ghc ==9.10.2, ghc ==9.10.3, ghc ==9.12.2, ghc ==9.12.4, ghc ==9.14.1
License BSD-3-Clause
Author Harley D. Eades III
Maintainer harley.eades@gmail.com
Uploaded by heades at 2026-11-10T20:58:27Z
Category Development
Home page https://github.com/heades/cfv
Bug tracker https://github.com/heades/cfv/issues
Distributions
Executables cfv
Downloads 2 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for cfv-0.1.0.0

[back to package description]

CFV: A simple file format for configuration variables

Declare configuration variables in a '.cfv' file and parse them.

An example of the contents of a CFV file is:

-- a comment
greeting = 'hello';                   -- single-quoted string
empty    = "";                        -- double-quoted string
now      = `date +%s`;                -- run shell command
home'    = `echo "$HOME"`;            -- access to your shells PATH
secret api_key = "password/token/key" -- a secret variable (public is default)

For more information on the syntax of variable declarations see Hackage.