easygen icon indicating copy to clipboard operation
easygen copied to clipboard

Wiki: easygen is not only for cli but it's a Universal code/text generator

Open suntong opened this issue 4 years ago • 0 comments

Here is easygen using the same YAML file of:

https://github.com/go-easygen/easygen/blob/cdf80e923cb3ba9dca32b689e2e99de66085d255/cmd/easygen/easygen.yaml#L1-L76

which is used to generates the cli code, and use it to auto-generate Go data structure instead:

https://github.com/go-easygen/easygen/blob/cdf80e923cb3ba9dca32b689e2e99de66085d255/config.go#L1-L19

from this template:

https://github.com/go-easygen/easygen/blob/cdf80e923cb3ba9dca32b689e2e99de66085d255/cmd/easygen/config.tmpl#L1-L16

with this command:

https://github.com/go-easygen/easygen/blob/cdf80e923cb3ba9dca32b689e2e99de66085d255/cmd/easygen/easygen.gen.sh#L1

For more infomation, check out

EasyGen -- Universal code/text generator that is easy to use

suntong avatar Dec 28 '21 03:12 suntong