mplater

command module
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2018 License: MIT Imports: 6 Imported by: 0

README

mplater

CLI tool for filling out a Golang-based template.

Usage

# full command
$ mplater -i ./my_template -o ./output.txt -x myvariable=someValue -x anothervariable=appropriatevalue

# Help message
$ mplater -h
NAME:
   mplater - A template filler-upper

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

VERSION:
   0.1.0

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

GLOBAL OPTIONS:
   --input value, -i value     Input template file
   --output value, -o value    Output file (default: "output.txt")
   --keyvalue value, -x value  Key=Value pair
   --help, -h                  show help
   --version, -v               print the version

For more examples, please refer to the examples folder

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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