README.md (695B)
1 # gioinit 2 3 Simple tool that spits out a minimal Gio application with some common 4 structure. 5 6 Simply execute and pipe the results to a file. 7 8 `gioinit > main.go` 9 10 Don't want to grab the source? 11 12 `go run git.sr.ht/~jackmordaunt/gioinit@latest > main.go` 13 14 If you provide a qualified path the tool will perform the initialization 15 ritual for you: 16 17 `gioinit project git.sr.ht/~jackmordaunt/project` 18 19 Is equivalent to: 20 21 ```sh 22 mkdir project 23 cd project 24 go mod init git.sr.ht/~jackmordaunt/project 25 gioinit > main.go 26 go mod tidy 27 go run . 28 ``` 29 30 `gioinit project` 31 32 Is equivalent to: 33 34 ```sh 35 mkdir project 36 cd project 37 go mod init project 38 gioinit > main.go 39 go mod tidy 40 go run . 41 ``` 42 43 