From 499991fce1c3415c8de772fdce6d2f24caac7d00 Mon Sep 17 00:00:00 2001 From: Alex Flint Date: Fri, 17 Apr 2020 15:52:34 -0400 Subject: [PATCH] move some stuff around in the readme header; add sourcegraph --- README.md | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) 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