mkpis
mkpis copied to clipboard
Installation steps
Hi there,
I'm getting a lot of value out of this project. I am not a go user however so getting this installed wasn't immediately apparent to me. I was able to get it with:
go get github.com/jmartin82/mkpis@latest
cd $GOPATH/pkg/mod/github.com/jmartin82/[email protected]/cmd/cli/
go install .
but that installs it with the name cli
. Not to mention it doesn't feel like this is the intended process. Can you let me know the best way to install? I'll update the readme if so.
I managed to figure something out, pretty new to go so not sure if it is the correct way but it generated a cli executable and seems to work 👍🏻 (I'm on Ubuntu and first installed apt install golang-go
git clone <repo>
cd mkpis/cmd/cli
go build
./cli -owner <owner> -repo <repo>
@dogmatic69 Are you able to get variables read from .env when running with your commands?
where .env is located ?