🚧 this project is under construction 🚧
$ pip install egoist
- go code generation
- general code generation
$ egoist init clikit
level:INFO message:create . name:egoist.cliL25
$ tree .
.
└── definitions.py
0 directories, 1 file
$ python definitions.py generate
[D] create cmd/hello
[F] create cmd/hello/main.go
$ go run cmd/hello/main.go -name="world"
hello world
🎉
$ egoist init dirkit
level:INFO message:create . name:egoist.cliL25
$ tree .
.
├── definitions.py
└── input
└── hello.tmpl
1 directories, 2 file
$ python definitions.py generate
[D] create ./output
[F] create ./output/foo.json
[F] create ./output/bar.json
[F] create ./output/boo.json
$ cat ./output/*.json
hello bar
hello boo
hello foo
✨