Change bin name from kni-edge-installer to knictl 02/1102/1
authorYolanda Robla <yroblamo@redhat.com>
Tue, 2 Jul 2019 09:34:39 +0000 (11:34 +0200)
committerYolanda Robla <yroblamo@redhat.com>
Tue, 2 Jul 2019 09:36:05 +0000 (11:36 +0200)
To avoid giving a false impression of our tooling being
another installer, rename it from kni-edge-installer to
knictl.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I81be6fdbf08d91665529f30f623fba595a70d2a6

Makefile
README.md
cmd/root.go

index 8ea3f09..6004904 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 GOPATH=$(shell pwd)/vendor:$(shell pwd):"${HOME}/go"
 GOBIN=$(shell pwd)/bin
 GOFILES=$(wildcard *.go)
-GONAME="kni-edge-installer"
+GONAME="knictl"
 
 BUILDDIR = $(shell pwd)/build
 BINDIR = $(shell pwd)/bin
@@ -43,7 +43,7 @@ binary:
        @./bin/$(GONAME) binary --bin_path ${BINDIR} --installer_repository ${INSTALLER_GIT_REPO} --installer_tag ${INSTALLER_GIT_TAG}
 
 build:
-       @echo "Building kni-edge-installer with $(GOPATH) to ./bin"
+       @echo "Building knictl with $(GOPATH) to ./bin"
        @GOPATH=$(GOPATH) GOBIN=$(GOBIN) go build -o bin/$(GONAME) $(GOFILES)
 
 clean:
index 2425413..d59ca2d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -15,11 +15,11 @@ Software: gcc,git,go
 
 ## How to build
 
-First the `kni-edge-installer` binary needs to be produced. For that you just execute make with the following syntax:
+First the `knictl` binary needs to be produced. For that you just execute make with the following syntax:
 
     make build
 
-This will produce the `kni-edge-installer` binary that can be used to deploy a site.
+This will produce the `knictl` binary that can be used to deploy a site.
 
 ## How to deploy
 
index 6020dfa..b5a9f08 100644 (file)
@@ -25,7 +25,7 @@ var cfgFile string
 
 // rootCmd represents the base command when called without any subcommands
 var rootCmd = &cobra.Command{
-       Use:   "kni-edge-installer",
+       Use:   "knictl",
        Short: "This app will execute deployment and updates of KNI edge clusters",
        Long: `Given a set of declarative configurations, the following application
     will perform deployment of Kubernetes clusters based on it.`,
@@ -42,5 +42,3 @@ func Execute() {
 
 func init() {
 }
-
-