I realised soon after making this that it would have been much more useful to design with multiple languages/templates in mind.
So I did just that, see Sophed/mkpr!
golaunch <name> to create a project
- Creates a new directory
- Fails if a file or directory already exists with the name specified
example <- name used for root dir
├─ app
│ ├─ main.go
│ └─ main_test.go
├─ build
│ └─ bin <- output binary from build script
├─ go.mod
├─ justfile <- build/run/test scripts
├─ LICENSE <- auto generated from username/current year
└─ README.md
- License is MIT by default, may add future options to specify a license
- CLI tool just is highly recommended
- I'll add to some package repos eventually
- Until then, there is binaries available in releases
- Requires
justandgoinstalled
git clone https://github.com/Sophed/golaunch
cd golaunch
just build
