headergen: Creates a header for a haskell source file.

[ development, mit, program ] [ Propose Tags ]

The headergen application can generate source file headers with default values configured for a specific project. It features a full templating engine under the hood and can be highly customized.


[Skip to Readme]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.2.0.0
Change log changelog.md
Dependencies aeson (>=0.9.0.1 && <0.10), aeson-pretty (>=0.7.2 && <0.8), base (>=4.8 && <4.9), bytestring (>=0.10.6 && <0.17), directory (>=1.2.2 && <1.3), filepath (>=1.4 && <1.5), haskeline (>=0.7.2.1 && <0.8), time (>=1.5.0.1 && <1.6) [details]
License MIT
Copyright (c) 2015 Nils 'bash0r' Jonsson
Author Nils 'bash0r' Jonsson
Maintainer aka.bash0r@gmail.com
Category Development
Home page https://github.com/aka-bash0r/headergen
Source repo head: git clone https://github.com/aka-bash0r/headergen
this: git clone https://github.com/aka-bash0r/headergen(tag 0.2.0.0)
Uploaded by bash0r at 2015-07-30T08:21:34Z
Distributions NixOS:0.2.0.0
Executables headergen
Downloads 2449 total (23 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2015-11-13 [all 7 reports]

Readme for headergen-0.2.0.0

[back to package description]

headergen

An application written in Haskell for generating headers for Haskell source files.

Usage

Usage: headergen {help [all|COMMAND]|init|create LANGUAGE TEMPLATE MODULE}

headergen create LANGUAGE TEMPLATE MODULE
* creates a new module in current working directory.
headergen init
* initializes a new .headergen.def.
headergen help
* shows this help information
headergen help COMMAND
* shows detailed help information

Supported Languages

As for now only Haskell is supported. It is planned to implement support for more languages in future releases.

TODO

  • Extract help message interface from command module level to avoid mutual recursion over module level.
  • Implement reading of cabal files instead of using own setting files.
  • Implement a parser for updating existing source files.
  • Implement reading of file associations from file.
  • Implement support for more languages.