/progen-cli

Code generation tool

Primary LanguageHTMLBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

progen-cli

THIS REPOSITORY HAS BEEN ARCHIVED. THE PROJECT NOW LIVES UNDER THE SKAT WHICH IS MEAN TO EXTEND ON THIS IDEA AS WELL AS ADD MORE FUNCTIONALITY.

Cli tool for generating code for your project.

The tool copies templates and performs substitutions on its contents based on values passed it from the command line. Progen does not contain any templates itself, you must create them all.

Installation

At the moment you need Stack to install the tool. Execute the stack install command which should install the binary in your path.

You can use this example configuration to get started:

{
  "templates": "TEMPLATES_PATH",
  "filenameSeparator": "FILENAME_SEPARATOR_CHAR",
  "output": {
    "FILENAME_KEY": "RELATIVE_PATH"
  }
}

Development

The project runs on Haskell GHC and has been setup with Stack version lts-13.29.

Generate Haddock Documentation

run the gen-docs.sh shell script to create the code documentation. This is not to know how to use the application, but to understand how it is built. It is meant for developers of the application.