From 499991fce1c3415c8de772fdce6d2f24caac7d00 Mon Sep 17 00:00:00 2001 From: Alex Flint Date: Fri, 17 Apr 2020 15:52:34 -0400 Subject: move some stuff around in the readme header; add sourcegraph --- README.md | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index cefeadc..ed0e124 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,24 @@ -[![GoDoc](https://godoc.org/github.com/alexflint/go-arg?status.svg)](https://godoc.org/github.com/alexflint/go-arg) -[![Build Status](https://github.com/alexflint/go-arg/workflows/Go/badge.svg)](https://github.com/alexflint/go-arg/actions) -[![GolangCI](https://golangci.com/badges/github.com/alexflint/go-arg.svg)](https://golangci.com/r/github.com/alexflint/go-arg) --[![Coverage](https://coveralls.io/repos/alexflint/go-arg/badge.svg?branch=master&service=github)](https://coveralls.io/github/alexflint/go-arg?branch=master) -[![Report Card](https://goreportcard.com/badge/github.com/alexflint/go-arg)](https://goreportcard.com/badge/github.com/alexflint/go-arg) +


go-arg

+

Struct-based argument parsing for Go

+

-## Structured argument parsing for Go + Sourcegraph -```shell -go get github.com/alexflint/go-arg -``` + Build Status + + GoDoc + + Test Coverage + + + + Golang CI + + Go Report Card + +

+
Declare command line arguments for your program by defining a struct. @@ -27,6 +36,12 @@ $ ./example --foo=hello --bar hello true ``` +### Installation + +```shell +go get github.com/alexflint/go-arg +``` + ### Required arguments ```go -- cgit v1.2.3 From efbf84df4c32eb71efcc29a1e429ee4a1cd3c8bd Mon Sep 17 00:00:00 2001 From: Alex Flint Date: Fri, 17 Apr 2020 15:54:02 -0400 Subject: drop blank lines --- README.md | 9 --------- 1 file changed, 9 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index ed0e124..9e6a83b 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,13 @@


go-arg

-

Struct-based argument parsing for Go

- Sourcegraph - Build Status - GoDoc - Test Coverage - - Golang CI - Go Report Card -


-- cgit v1.2.3 From 40ed78b0fa16e93c3be3ad0694e3a6fc5ad7db02 Mon Sep 17 00:00:00 2001 From: Alex Flint Date: Fri, 17 Apr 2020 15:58:00 -0400 Subject: use go.dev badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 9e6a83b..1965a3e 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@

Struct-based argument parsing for Go

Sourcegraph + Documentation Build Status - GoDoc Test Coverage Golang CI -- cgit v1.2.3 From 388f831e681b9ba126162be68612735bd70200b2 Mon Sep 17 00:00:00 2001 From: Alex Flint Date: Fri, 17 Apr 2020 16:00:32 -0400 Subject: drop golangci since it is shutting down soon; fix pkg.go.dev link --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 1965a3e..bd35142 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,10 @@

Struct-based argument parsing for Go

Sourcegraph - Documentation + Documentation Build Status Test Coverage - Golang CI Go Report Card


-- cgit v1.2.3 From 7a71aa1b202bdf986320ae80ebbfa34b5262c52b Mon Sep 17 00:00:00 2001 From: Alex Flint Date: Fri, 17 Apr 2020 16:09:24 -0400 Subject: add banner image --- .github/banner.jpg | Bin 0 -> 10082 bytes README.md | 7 ++++++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .github/banner.jpg (limited to 'README.md') diff --git a/.github/banner.jpg b/.github/banner.jpg new file mode 100644 index 0000000..6fbf95c Binary files /dev/null and b/.github/banner.jpg differ diff --git a/README.md b/README.md index bd35142..2733b0e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,9 @@ -


go-arg

+

+ go-arg +
+ go-arg +
+

Struct-based argument parsing for Go

Sourcegraph -- cgit v1.2.3