{"repo":"yonaskolb/Genesis","free":true,"listed":false,"github":"https://github.com/yonaskolb/Genesis","clone":"git clone https://github.com/yonaskolb/Genesis.git","description":"Templating, scaffolding and generation tool","language":"Swift","stars":201,"topics":["cli","templating","scafolding","tool","swift","yaml","generator"],"license":"MIT","category":"cli-tools","readme_excerpt":"Genesis Genesis is a templating and scaffolding tool. A Genesis template is a manifest of options and files written in yaml or json. Option values can be provided in various ways otherwise you will be interactively asked for inputs. Template files are written in Stencil. The list of files can make use of dynamic paths and be generated multiple times depending on the format of the input. - ✅ Template manifests in easy to read and write yaml or json - ✅ Template files written in Stencil templating language - ✅ Provide options via ENV, command line, file or interactively - ✅ Powerful command line interactivity with choices, lists and branching - ✅ Write dynamic file paths The very simple example: And then run like this: Or you can provide the required options via arguments Much more powerful templates are possible. See more complete documentation here Installing Make sure Xcode 13 is installed first. Mint Make Swift Package Manager Use CLI Use as dependency Add the following to your Package.swift file's dependencies: And then import GenesisKit . See GenesisKit for more information. Usage Run genesis help for usage instructions Providing options Options will be passed to the template in the following order, merging along the way, with duplicate options overriding the previous ones. 1. Environment Variables Set any environment variables before you call generate, or use already existing ones from your development environment 2. Options File Pass a path to a json or yaml file with -","default_branch":null,"files":null,"tree":[],"storefront":"/r/yonaskolb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yonaskolb/Genesis/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}