From 1ce67cbcb89a646f88131f37fd8fdc717de6eaae Mon Sep 17 00:00:00 2001 From: athul Date: Tue, 25 Aug 2020 12:34:33 +0530 Subject: [PATCH] Move to Hopp-cli --- .gitignore | 2 +- .goreleaser.yml | 12 ++++++------ Makefile | 12 ++++++------ cli.go | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 5804758..0cacdfc 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,7 @@ *.dll *.so *.dylib -pwcli +hopp-cli # Test binary, built with `go test -c` *.test diff --git a/.goreleaser.yml b/.goreleaser.yml index e33f1d6..af3aaf6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -38,14 +38,14 @@ changelog: - '^test:' release: github: - owner: athul - name: pwcli + owner: hoppscotch + name: hopp-cli brews: - - name: pwcli + - name: hopp-cli github: owner: athul name: homebrew-tap folder: Formula - homepage: 'https://github.com/athul/pwcli' - description: 'Postwoman CLI in Go' - install: bin.install "pwcli" + homepage: 'https://github.com/hoppscotch/hopp-cli' + description: 'CLI for Hoppscotch.io' + install: bin.install "hopp-cli" diff --git a/Makefile b/Makefile index b587845..b0bd6e8 100644 --- a/Makefile +++ b/Makefile @@ -3,9 +3,9 @@ BINDIR?=$(PREFIX)/bin VERSION?=$(shell git tag | grep ^v | sort -V | tail -n 1) GOFLAGS?=-ldflags '-X main.VERSION=${VERSION}' -pwcli: cli.go go.mod go.sum +hopp-cli: cli.go go.mod go.sum @echo - @echo Building pwcli. This may take a minute or two. + @echo Building hopp-cli. This may take a minute or two. @echo go build $(GOFLAGS) -o $@ @echo @@ -32,17 +32,17 @@ update: .PHONY: install install: @echo - @echo Installing pwcli... + @echo Installing hopp-cli... @echo - install -m755 pwcli $(BINDIR) + install -m755 hopp-cli $(BINDIR) @echo @echo ...Done\! .PHONY: uninstall uninstall: @echo - @echo Uninstalling pwcli... + @echo Uninstalling hopp-cli... @echo - rm -f $(BINDIR)/pwcli + rm -f $(BINDIR)/hopp-cli @echo @echo ...Done\! diff --git a/cli.go b/cli.go index e3f7b0a..98c2513 100644 --- a/cli.go +++ b/cli.go @@ -123,7 +123,7 @@ func main() { WE REALLY NEED YOUR FEEDBACK, - CREATE A NEW ISSUE FOR BUGS AND FEATURE REQUESTS : < http://github.com/athul/pwcli > + CREATE A NEW ISSUE FOR BUGS AND FEATURE REQUESTS : < https://github.com/hoppscotch/hopp-cli > `, cli.AppHelpTemplate)