NAME

yto - Change YAML to another format (like JSON)

SYNOPSIS

    yto <format> [<file>...]

    yto csv [-d <delimiter>] [<file>...]

    yto -h|--help|--version

DESCRIPTION

This program takes a stream of YAML documents (on STDIN or file arguments), and prints them in the desired format.

ARGUMENTS

format

The format to output. Currently supported formats: JSON

<file>

A YAML file to read. The special file "-" refers to STDIN. If no files are specified, read STDIN.

OPTIONS

-d | --delimiter

The delimiter to use for the csv format. Defaults to ,.

-h | --help

Show this help document.

--version

Print the current yto and Perl versions.

ENVIRONMENT VARIABLES

YERTL_FORMAT

Specify the default format Yertl uses between commands. Defaults to yaml. Can be set to json for interoperability with other programs.