The headergen package

[Tags:mit, program]

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]

Properties

Versions 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.*), bytestring (>=0.10.6 && <0.17), directory (>=1.2.2 && <1.3), filepath (==1.4.*), 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 repository head: git clone https://github.com/aka-bash0r/headergen
this: git clone https://github.com/aka-bash0r/headergen(tag 0.2.0.0)
Uploaded Thu Jul 30 08:21:34 UTC 2015 by bash0r
Distributions NixOS:0.2.0.0
Downloads 420 total (22 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
Last success reported on 2015-11-13 [all 7 reports]
Hackage Matrix CI

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for headergen

Readme for headergen-0.2.0.0

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 </br> * creates a new module in current working directory. </br> headergen init </br> * initializes a new .headergen.def. </br> headergen help </br> * shows this help information </br> headergen help COMMAND </br> * 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.