garchetype
This is a Production Draft ¯\(ツ)/¯ , it has no tests, no CI, no docs,
no examples, etc. It's just a proof of concept whit good intentions and charm.
This is an scaffold tool for adding functionality to Go projects.
It makes use of go-archetype for handling the templates.
Requirements
Install
go install github.com/diegosz/garchetype@latest
Recommended: Pin the garchetype tool to your project using bingo. Do it via:
bingo get -l github.com/diegosz/garchetype@latest
Usage
Add a feature using an archetype:
./garchetype add -f example-app -- --salutation 'Hi, punk!'
🌱 Adding 'example-app' feature using 'hello-world' archetype.
📦 Using transformation file: xarchetype_godev_default/archetypes/hello-world/transformations-default.yaml
🎉 Feature 'example-app' added.
TODO
- Add tests.
- Add documentation.
- Add examples.
- Add continuous integration.
Credits