changelogctl: Renamed CLI

Renamed CLI application to changelogctl

BUG=b/160901711
TEST=unittests, run local

Change-Id: Iffffa81bf076c96f5850010ea63905102d5cb176
diff --git a/src/cmd/changelog-cli/README.md b/src/cmd/changelogctl/README.md
similarity index 78%
rename from src/cmd/changelog-cli/README.md
rename to src/cmd/changelogctl/README.md
index 53d991b..8ba26e8 100644
--- a/src/cmd/changelog-cli/README.md
+++ b/src/cmd/changelogctl/README.md
@@ -7,21 +7,21 @@
 ### Retrieve Changelog
 Retrieve the commit changelog between two builds.
 
-Run with `./changelog --mode changelog [options] [build-number || image-name] [build-number || image-name]`
+Run with `./changelogctl --mode changelog [options] [build-number || image-name] [build-number || image-name]`
 
-Example: `./changelog --gob cos.googlesource.com --repo cos/manifest-snapshots cos-rc-85-13310-1034-0 15045.0.0`
+Example: `./changelogctl --gob cos.googlesource.com --repo cos/manifest-snapshots cos-rc-85-13310-1034-0 15045.0.0`
 
 ### Find First Build Containing CL
 Retrieve the first build containing a CL.
 
-Run with `./changelog --mode findbuild [options] [CL-number || commit-SHA]`
+Run with `./changelogctl --mode findbuild [options] [CL-number || commit-SHA]`
 
-Example using CL-Number: `./changelog --mode findbuild 3280`
+Example using CL-Number: `./changelogctl --mode findbuild 3280`
 
-Example using Commit-SHA: `./changelog --mode findbuild 18d4ce48c1dc2f530120f85973fec348367f78a0`
+Example using Commit-SHA: `./changelogctl --mode findbuild 18d4ce48c1dc2f530120f85973fec348367f78a0`
 
 ## Commands
-`./changelog --help` to see a list of commands or get help for one command
+`./changelogctl --help` to see a list of commands or get help for one command
 
 ## Global Options
 
diff --git a/src/cmd/changelog-cli/main.go b/src/cmd/changelogctl/main.go
similarity index 96%
rename from src/cmd/changelog-cli/main.go
rename to src/cmd/changelogctl/main.go
index 7b6a622..4262a60 100755
--- a/src/cmd/changelog-cli/main.go
+++ b/src/cmd/changelogctl/main.go
@@ -130,11 +130,11 @@
 	var mode, gobURL, gerritURL, fallbackURL, manifestRepo string
 	var debug bool
 	app := &cli.App{
-		Name:  "changelog-cli",
+		Name:  "changelogctl",
 		Usage: "get commits between builds or first build containing CL",
 		Description: fmt.Sprintf("%s\n   %s",
-			"changelog usage: ./changelog-cli -m changelog [build-number || image-name] [build-number || image-name]",
-			"findbuild usage: ./changelog-cli -m findbuild [CL-number || commit-SHA]",
+			"changelog usage: ./changelogctl -m changelog [build-number || image-name] [build-number || image-name]",
+			"findbuild usage: ./changelogctl -m findbuild [CL-number || commit-SHA]",
 		),
 		Flags: []cli.Flag{
 			&cli.StringFlag{
diff --git a/src/cmd/changelog-cli/main_test.go b/src/cmd/changelogctl/main_test.go
similarity index 97%
rename from src/cmd/changelog-cli/main_test.go
rename to src/cmd/changelogctl/main_test.go
index 60e4abd..188017c 100644
--- a/src/cmd/changelog-cli/main_test.go
+++ b/src/cmd/changelogctl/main_test.go
@@ -47,7 +47,7 @@
 }
 
 func setup() error {
-	cmd := exec.Command("go", "build", "-o", "changelog-cli", "main.go")
+	cmd := exec.Command("go", "build", "-o", "changelogctl", "main.go")
 	return cmd.Run()
 }
 
@@ -213,7 +213,7 @@
 		t.Run(name, func(t *testing.T) {
 			args := append([]string{"-mode", "changelog"}, test.Args...)
 			args = append(args, []string{test.Source, test.Target}...)
-			cmd := exec.Command("./changelog-cli", args...)
+			cmd := exec.Command("./changelogctl", args...)
 			err := cmd.Run()
 			if test.ShouldErr {
 				switch {
@@ -310,7 +310,7 @@
 			var out bytes.Buffer
 			args := append([]string{"-mode", "findbuild"}, test.Args...)
 			args = append(args, test.CL)
-			cmd := exec.Command("./changelog-cli", args...)
+			cmd := exec.Command("./changelogctl", args...)
 			cmd.Stdout = &out
 			err := cmd.Run()
 			if test.ShouldErr && err == nil {