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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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