diff options
| author | Alex Flint <[email protected]> | 2016-01-23 20:11:51 -0800 |
|---|---|---|
| committer | Alex Flint <[email protected]> | 2016-01-23 20:11:51 -0800 |
| commit | 8fee8f7bbe5933cfe3ba8c82479b91a8e777e5a0 (patch) | |
| tree | 4af108e4daa53fd7e2a82d6c72c7f35c50e166a8 | |
| parent | 95761fa14ae625b1929f9b43403e4e1a4910e192 (diff) | |
move installation instructions to top
| -rw-r--r-- | README.md | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -4,6 +4,10 @@ ## Structured argument parsing for Go +```shell +go get github.com/alexflint/go-arg +``` + Declare the command line arguments your program accepts by defining a struct. ```go @@ -208,12 +212,6 @@ usage: example [--name NAME] error: error processing --name: missing period in "oops" ``` -### Installation - -```shell -go get github.com/alexflint/go-arg -``` - ### Documentation https://godoc.org/github.com/alexflint/go-arg |
