init
Lightweight project bootstrapper
Embed and write template files (LICENSE, CONTRIBUTING.md) at compile time. Refuses to overwrite existing files. Fast project scaffolding for new tools.
Features
- Embeds templates at compile time
- Writes LICENSE, CONTRIBUTING.md, and scaffolding
- Refuses to overwrite existing files
- MCP server and CLI modes
Install
go install github.com/hegner123/init@latestThe Problem: Repeating boilerplate for every new project
# Every new tool needs:
# - LICENSE file
# - CONTRIBUTING.md
# - .gitignore
# - Basic project structure
#
# Copy-paste from last project, update names,
# forget something, fix it later.Solution
$ init --cli --name my-new-tool --license MITOutput
{"created":["LICENSE","CONTRIBUTING.md",".gitignore"],"skipped":[],"name":"my-new-tool"}Comparison
| Metric | Value |
|---|---|
| Templates | Embedded at compile time - no external files |
| Safety | Never overwrites existing files |