Skip to content

Commit

Permalink
added documentation on how to install pre-compiled binaries
Browse files Browse the repository at this point in the history
Signed-off-by: Luke Chisholm <luke.chisholm6@gmail.com>
  • Loading branch information
luke-chisholm6 committed Aug 16, 2017
1 parent a41db68 commit c2e6de5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ My use case is for generating AWS Cli json command files in a ci pipeline.
```bash
go get github.com/luke-chisholm6/go-cli-templates
```
or download the applicable binary for your platform from github releases replace darwin_amd64 with your os/arch combo (linux_386)
```bash
# using wget
wget https://github.com/luke-chisholm6/go-cli-templates/releases/download/0.1.0/go-cli-templates_darwin_amd64 -O /usr/local/bin/go-cli-templates
# using curl
curl https://github.com/luke-chisholm6/go-cli-templates/releases/download/0.1.0/go-cli-templates_darwin_amd64 -Lo /usr/local/bin/go-cli-templates
# don't forget to make it executable
chmod +x /usr/local/bin/go-cli-templates
```
### Usage
```bash
echo "{{.key1}} {{.key2}}" | go-cli-templates key1=Hello key2=world!
Expand Down

0 comments on commit c2e6de5

Please sign in to comment.