Amestris
An MV tool to simplify template generation. This tool aims to help speed up template generation for common projects templates such as CRUDs and project start based on file templating.
Getting started​
- Setup Go Programming Language
- Clone the repo on github
- Install the project dependencies:
go get -u all - Open with your favorite editor, and happy codding 😊.
Usage/Examples​
Screenshots​

Example of use​
amestris -t ~/templates/project
Flags​
| Name | Shortcut | Description |
|---|---|---|
template | -t | Required. Path to you template folder |
help | -h | display help of cli |
help | -v | display the version of cli |
Contraints and limitations​
The template processing depends on the golang standard template package, thus some limitations are inherent to the package. Check the package documentation on https://pkg.go.dev/text/template.
Besides that due some limitations we decide that in order to process variables of type array, we would expect that the variables of type array should end with Array.
The same with camelcase notation, we would expect a variable that ends with CamelCase and also this variable should have a matching variable with the same name minus CamelCase, e.g. Name and NameCamelCase.
How to contribute​
We definitely welcome your patches and contributions. If you are new to github, please start by reading Pull Request howto