EASYGEN(1)

✨ EASYGEN(1) ✨

okay bestie, gather round πŸ’– this is easygen, a general commands manual page, and it's literally the "Easy to use universal code/text generator". gen z certified, unix approved, let's GO πŸš€


🌸 NAME 🌸

easygen β€” Easy to use universal code/text generator. that's it, that's the whole name, and it ate πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

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

data_filename(s)

the name for the .yaml or .json data. fr fr, here's the tea:

  • If omitted, derive from the template_name. no stress, she'll figure it out πŸ’β€β™€οΈ
  • Can have the extension or without it. If without extension, will try .yaml first then .json β€” yaml girlies first, sorry json stans 😌
  • Can include the path as well. paths are welcome here 🫢

template_name

the name for the template file. iconic behavior only:

  • Can have the extension or without it. lowkey flexible like that ✨
  • Can include the path as well. slay πŸ’…
  • Can be a comma-separated list giving many template files, in which case at least one data_filename must be given. like, yes, you can have multiple templates, but not with zero data β€” that's the rule bestie, no cap 🚨

πŸ¦‹ DESCRIPTION πŸ¦‹

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

It can be used as a text or html generator for arbitrary purposes with arbitrary data and templates. it's giving versatile, it's giving main character energy πŸ‘‘

It is a good GSL replacement, because it:

  • is more easy to define driving data, in form of YML instead of XML (yaml supremacy, we said what we said 🌈)
  • has more powerful template engine that based on Go template. You can even write your own function in Go to customize your template. not me writing custom Go functions at 3am 😭πŸ”₯

You can even use easygen as a generic Go template testing tool using the -ts commandline option, and much more. yes, MORE. iykyk πŸ’œ

🌟 Usage 🌟

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.

look at her go πŸ₯Ήβœ¨ first one's raw, second one's got the quotes, third one's out here without the trailing comma β€” different vibes, same data, obsessed 🫢


🌈 EXAMPLES 🌈

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

read the docs bestie, they're thorough, they're comprehensive, they're the moment πŸ“šπŸ’–


okay that's the whole page!! go forth and generate code and text with ease, you got this πŸ‘‘πŸ’…

and that's a wrap fr fr πŸŽ€ this was the General Commands Manual for easygen, dated January 2026, signed off with EASYGEN(1) β€” mwah, bye bestie πŸ¦‹βœ¨πŸ’œ

πŸ“¦ where this page comes from