udpate readme

This commit is contained in:
Alex Flint 2015-10-31 19:14:11 -07:00
parent 6dc9bbbdfd
commit 19d956870f
1 changed files with 4 additions and 6 deletions

View File

@ -1,5 +1,9 @@
## Structured argument parsing for Go
```shell
go get github.com/alexflint/go-arg
```
```go
var args struct {
Foo string
@ -14,12 +18,6 @@ $ ./example --foo=hello --bar
hello true
```
### Installation
```shell
go get github.com/alexflint/go-arg
```
### Default values
```go