rendergt

command module
v0.0.0-...-9a043ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

README

rendergt

Go Report Card

rendergt is a simple utility to render go templates.

Building

make

Running

./bin/rendergt

Usage

Rendergt read recursively go template files from input folder passed as arguments, rendering them on stdout or output folder if configured. The rendered go templates are writen following the same input folder hierarchy. Values can be replaced on templates using multiple values files. If multiple values are provided, they will; be merged before rendering the go templates.

NAME:
   rendergt - rendergt [OPTIONS] <template_folders>

USAGE:
   rendergt [global options] command [command options] [arguments...]

VERSION:
   0.0.2

AUTHOR:
   Rawmind <rawmind@gmail.com>

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --debug, -d               Debug logging (default: false)
   --delims value            Template delimiters (default: "{{}}")
   --ext value, -e value     Template files extension (default: "tmpl")
   --help, -h                show help (default: false)
   --output value, -o value  Output folder (default: "stdout")
   --values value            Values yaml file with data to generate templates (default: "values.yaml")  (accepts multiple inputs)
   --version, -v             print the version (default: false)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL