The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version 0.035

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.

AUTHOR

Doug Bell <preaction@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Doug Bell.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.