mordaunt.dev/code

code / gioinit

gioinit

Bootstrap Gio programs with a simple template to get you started.

  • Go
  • Gio
  • CLI
  • Generator
  • Scaffolding
  • Templates
  • GUI
  • Desktop
  • Developer-Tools
  • Tooling
clone
https://mordaunt.dev/code/gioinit
license
Unlicense OR MIT
activity
0 commitsthis year, since 2021

Simple tool that spits out a minimal Gio application with some common structure.

Simply execute and pipe the results to a file.

gioinit > main.go

Don’t want to grab the source?

go run git.sr.ht/~jackmordaunt/gioinit@latest > main.go

If you provide a qualified path the tool will perform the initialization ritual for you:

gioinit project git.sr.ht/~jackmordaunt/project

Is equivalent to:

mkdir project 
cd project
go mod init git.sr.ht/~jackmordaunt/project
gioinit > main.go 
go mod tidy
go run .

gioinit project

Is equivalent to:

mkdir project 
cd project
go mod init project
gioinit > main.go 
go mod tidy
go run .

usage

Commit log

Mirrored to sourcehut and GitHub.