1. blueprint-template(1)
  2. Blueprint
  3. blueprint-template(1)

NAME

blueprint-template - render mustache.sh templates locally

SYNOPSIS

blueprint template [-q] pathname

DESCRIPTION

blueprint-template renders the template for the given pathname using the mustache.sh template rendering engine. The template for pathname must be stored in pathname.blueprint-template.mustache. Data meant only for pathname may be stored in pathname.blueprint-template.sh, a source-able POSIX shell script.

Data meant for all templates may be stored in files ending in .sh in /etc/blueprint-template.d, again as source-able POSIX shell scripts. Blueprint comes with a selection of suitable data, see blueprint-template(7).

This program is meant for use during development and testing of templates; blueprint-apply(1) and blueprint-show(1) take care of rendering templates automatically.

OPTIONS

-q, --quiet
Operate quietly.
-h, --help
Show a help message.

FILES

/etc/blueprint-template.d
source-able POSIX shell scripts ending in .sh that set environment variables for use in templates.

THEME SONG

The Flaming Lips - "The W.A.N.D. (The Will Always Negates Defeat)"

AUTHOR

Richard Crowley richard@devstructure.com

SEE ALSO

Part of blueprint(1).

blueprint-template(5) for mustache.sh template language syntax.

blueprint-template(7) for built-in template data.

  1. DevStructure
  2. December 2011
  3. blueprint-template(1)