Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Latest commit

 

History

History
31 lines (20 loc) · 431 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 431 Bytes

Sprig command line tool

Command line for Sprig

Install

go install github.com/yngveh/sprig-cli@latest

Usage

Template from file

sprig-cli -tmpl /path/to/template.tpl -data /path/to/data.yaml

Template from stdin

echo "{{ uuidv4 }}" | sprig-cli
echo "{{ .root.key1 }}" | spring-cli -data test/my-data.yaml

Build

make