NAME

yfrom - Build YAML from another format (like JSON or CSV)

SYNOPSIS

    yfrom <format> [<file>...]

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

    yfrom -h|--help|--version

DESCRIPTION

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

ARGUMENTS

format

The format to read. Currently supported formats: JSON, CSV

<file>

A 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 yfrom 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.