gentmpl

package module
v0.0.0-...-53f5051 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2020 License: MIT Imports: 9 Imported by: 0

README

gentmpl

Looks similar to safekeeper but it is completely different.

(a) uses the golang template format

(b) uses the entire environment

The outcome should be obvious.

Example

gentmpl  --output=out template.test

Build

docker build --rm -t envtmpl .
docker run --rm -v `pwd`:/src envtmpl

The executable is in the bin folder

As a dependency

if your project depends on this tool... the easiest way to include it...

go get -u git.bucker.net/netcentrix/envtmpl/...

And this way the envtmpl executable will be in the path.

LICENSE

Licensed under MIT license.

revert testing

Documentation

Overview

Copyright (c) 2015 One Off Code LLC

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadKeyValues

func LoadKeyValues() (map[string]string, error)

loadKeyValues loads all values for the keys specified via the command-line flag

func Run

func Run(comment, out, generic, id, imports string, inputPaths []string) error

func Split

func Split(s string, d string) []string

func Title

func Title(s string) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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