github.com/suntong/easygen@v5.3.0+incompatible/README.e.md (about)

     1  
     2  ## {{toc 5}}
     3  - [Download/install binaries](#downloadinstall-binaries)
     4    - [The binary executables](#the-binary-executables)
     5    - [Distro package](#distro-package)
     6    - [Debian package](#debian-package)
     7  - [Install Source](#install-source)
     8  - [Author](#author)
     9  - [Contributors](#contributors-)
    10  
    11  ## {{.Name}} - Easy to use universal code/text generator
    12  
    13  Command `{{.Name}}` is an easy to use universal code/text generator.
    14  
    15  It can be used as a text or html generator for _arbitrary_ purposes with _arbitrary_ data and templates. It is a good [GSL](https://github.com/imatix/gsl) replacement, as it
    16  
    17    - is more easy to define driving data, in form of YML instead of XML
    18    - has more powerful template engine that based on Go template.
    19      You can also write your own function in Go to customize your template.
    20    - there are lots of transformation support functions builtin inside it, check out the full list with sample usages and results [here](https://github.com/go-easygen/easygen/issues/25).
    21    - apart from the above sample usages, it has extensive documentations like [this](https://github.com/go-easygen/easygen/wiki/Docs:-Easygen-usage). Check out the [wiki](https://github.com/go-easygen/easygen/wiki/) for the full list.
    22  
    23  You can even use easygen as [a generic Go template testing tool](https://github.com/go-easygen/easygen/wiki/Tip:-Testing-the-templates-on-the-fly) using the `-ts` commandline option, and much more.
    24  
    25  Note this document is for `{{.Name}}` versions 4.0+. For historic versions check out the [Different Versions](https://github.com/go-easygen/easygen/wiki/Docs:-Different-Versions) section.
    26  
    27  
    28  ## Usage
    29  
    30  ### $ {{exec "easygen" | color "sh"}}
    31  
    32  ## Details
    33  
    34  It can be used as a code generator, for example, command line parameter handling code generator, or anything that is structurally repetitive, like the following:
    35  
    36  - [Introduction to easygen and its philosophy ](https://suntong.github.io/blogs/2016/01/01/easygen---easy-to-use-universal-code/text-generator)
    37  - [What is the "XSLT" equivalent for JSON? Here is the new answer](https://dev.to/suntong/what-is-the-xslt-equivalent-for-json-here-is-the-new-answer-7la)
    38  - [Transforming json data with easygen](https://dev.to/suntong/transforming-json-data-with-easygen-4g2i)
    39  - [Easygen is now coding itself ](https://sfxpt.wordpress.com/2015/07/04/easygen-is-now-coding-itself/)
    40  - [Showcasing the power of easygen with ffcvt ](https://sfxpt.wordpress.com/2015/08/02/showcasing-the-power-of-easygen-with-ffcvt/)
    41  - [Easygen for HTML mock-up ](https://sfxpt.wordpress.com/2015/07/10/easygen-for-mock-up/)
    42  - [Moving beyond code-gen and mock-up, using easygen in real life creating GPT partitions](https://suntong.github.io/blogs/2015/12/26/creating-gpt-partitions-easily-on-the-command-line)
    43  
    44  Ready to get started? Then check out [Getting Started](https://github.com/go-easygen/easygen/wiki/Getting-Started) to start building your way to turn your data into any form, any way you want.