NAME

yto - Change YAML to another format (like JSON)

VERSION

version 0.044

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.

AUTHOR

Doug Bell <preaction@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 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.