This repository was archived by the owner on Dec 24, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 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+ ```
You can’t perform that action at this time.
0 commit comments