gioinit

command module
v0.0.0-...-4bdd8f3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2021 License: MIT, Unlicense Imports: 6 Imported by: 0

README

gioinit

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

Documentation

Overview

goinit spits out a templated gio program for bootstraping.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL