yte - Man Page

yte – Process a YAML file given at STDIN with YTE, and print the result to STDOUT

Synopsis

yte [-h] [--template TEMPLATE] [--output OUTPUT] [--require-use-yte] [--variable-file VARIABLE_FILE] [--variables [VARIABLES ...]] [--version]

Description

Process a YAML file given at STDIN with YTE, and print the result to STDOUT.

Note: if nothing is provided at STDIN, this will wait forever.

Options

-h,  --help

Show a help message and exit.

--template TEMPLATE

Path to the template file. If - is given, read from STDIN.

--output OUTPUT

Path to the output file. If - is given, write to STDOUT.

-r,  --require-use-yte

Require that the document contains a

__use_yte__: true

statement at the top level. If the statement is not present or false, return document unprocessed (except removing the

__use_yte__: false

statement if present)

--variable-file VARIABLE_FILE

Path to a file containing map of variables for the template (.json or .yaml format). Values given here are overwritten by values with the same names in the --variables option.

--variables [VARIABLES ...]

Space separated list of variables to use in the template, given as name=value pairs.

--version

Print version and exit.

Info

November 2025