Skip to content
This repository was archived by the owner on Dec 24, 2024. It is now read-only.

Commit 28dee8d

Browse files
added some installation and usage instructions to the readme
Signed-off-by: Luke Chisholm <[email protected]>
1 parent a998dd8 commit 28dee8d

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1-
# go-cli-templates [![Build Status](https://travis-ci.org/luke-chisholm6/go-cli-templates.svg?branch=master)](https://travis-ci.org/luke-chisholm6/go-cli-templates) [![Coverage Status](https://coveralls.io/repos/github/luke-chisholm6/go-cli-templates/badge.svg?branch=master)](https://coveralls.io/github/luke-chisholm6/go-cli-templates?branch=master)
1+
# go-cli-templates [![Build Status](https://travis-ci.org/luke-chisholm6/go-cli-templates.svg?branch=master)](https://travis-ci.org/luke-chisholm6/go-cli-templates) [![Coverage Status](https://coveralls.io/repos/github/luke-chisholm6/go-cli-templates/badge.svg?branch=master)](https://coveralls.io/github/luke-chisholm6/go-cli-templates?branch=master)
2+
This is a simple command line utility that leverages the go text/template package to generate dynamic files.
3+
My use case is for generating AWS Cli json command files in a ci pipeline.
4+
### Installation
5+
```bash
6+
go get github.com/luke-chisholm6/go-cli-templates
7+
```
8+
### Usage
9+
```bash
10+
echo "{{.key1}} {{.key2}}" | go-cli-templates key1=Hello key2=world!
11+
# will output: "Hello world!"
12+
```

0 commit comments

Comments
 (0)