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
just
andgo
installed
git clone https://github.com/Sophed/golaunch
cd golaunch
just build