From 05e709c48d15cf95b3dc3ce8e5c0fcb9c1a35370 Mon Sep 17 00:00:00 2001 From: Florian Eitel Date: Sun, 15 Sep 2019 23:01:06 +0200 Subject: [PATCH] Describe install steps with `go get` --- Makefile | 4 ++-- README.md | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7f317b1..0cb7b73 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ GOGET=$(GOCMD) get BINARY_NAME=velux-cli all: build -build: +build: genclient $(GOBUILD) -o $(BINARY_NAME) -v fmt: @@ -23,5 +23,5 @@ deps: $(GOGET) github.com/go-openapi/runtime/client $(GOGET) github.com/go-openapi/strfmt -genclient: +genclient: deps ../../../../bin/swagger generate client -f ./swagger.yaml diff --git a/README.md b/README.md index 45fae8f..773e9ad 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,12 @@ # velux-cli Go Client for Velux Active KIX 300 +## Install + +``` +go get github.com/nougad/velux-cli +``` + ## Auth Login to Velux using username and password