Describe install steps with go get

This commit is contained in:
Florian Eitel 2019-09-15 23:01:06 +02:00
parent f10ed29285
commit 05e709c48d
Signed by: flo
GPG Key ID: 9987EAFEF6F686BB
2 changed files with 8 additions and 2 deletions

View File

@ -6,7 +6,7 @@ GOGET=$(GOCMD) get
BINARY_NAME=velux-cli BINARY_NAME=velux-cli
all: build all: build
build: build: genclient
$(GOBUILD) -o $(BINARY_NAME) -v $(GOBUILD) -o $(BINARY_NAME) -v
fmt: fmt:
@ -23,5 +23,5 @@ deps:
$(GOGET) github.com/go-openapi/runtime/client $(GOGET) github.com/go-openapi/runtime/client
$(GOGET) github.com/go-openapi/strfmt $(GOGET) github.com/go-openapi/strfmt
genclient: genclient: deps
../../../../bin/swagger generate client -f ./swagger.yaml ../../../../bin/swagger generate client -f ./swagger.yaml

View File

@ -1,6 +1,12 @@
# velux-cli # velux-cli
Go Client for Velux Active KIX 300 Go Client for Velux Active KIX 300
## Install
```
go get github.com/nougad/velux-cli
```
## Auth ## Auth
Login to Velux using username and password Login to Velux using username and password