From 8fee8f7bbe5933cfe3ba8c82479b91a8e777e5a0 Mon Sep 17 00:00:00 2001 From: Alex Flint Date: Sat, 23 Jan 2016 20:11:51 -0800 Subject: [PATCH] move installation instructions to top --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ae7aa6c..28ff388 100644 --- a/README.md +++ b/README.md @@ -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