garchetype

command module
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 17 Imported by: 0

README

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

  • Go 1.23+

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL