EASYGEN(1) General Commands Manual EASYGEN(1)

easygen - Easy to use universal code/text generator

easygen [flags] template_name [data_filename [data_filename...]]

data_filename(s): The name for the .yaml or .json data.

template_name: The name for the template file.

Command easygen is an easy to use universal code/text generator.

It can be used as a text or html generator for arbitrary purposes with arbitrary data and templates. It is a good GSL replacement, as it

You can even use easygen as a generic Go template testing tool using the -ts commandline option, and much more.

It's very easy to use -- just type easygen and following the inline help. Or try the following example to get started:

    export PATH=$PATH:$GOPATH/bin
    $ easygen $GOPATH/src/github.com/go-easygen/easygen/test/list0
    The colors are: red, blue, white, .
    cd $GOPATH/src/github.com/go-easygen/easygen
    $ easygen test/list1
    The quoted colors are: "red", "blue", "white", .
    $ easygen -tf test/listfunc1 test/list0
    red, blue, white.

easygen comes with comprehensive online documents. For further details, please go to:

https://github.com/go-easygen/easygen

https://suntong.github.io/blogs/2016/01/01/easygen--easy-to-use-universal-code/text-generator

https://github.com/go-easygen/easygen/blob/master/using_easygen.md

https://github.com/go-easygen/easygen/wiki/Getting-Started

https://godoc.org/github.com/go-easygen/easygen#pkg-examples

December 2024