Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

tuyen format command

Format a file. Support JSON, XML formats.

Usage

tuyen format [OPTIONS] --input <INPUT>

Options

-i, –input <INPUT>

Input path.
Aliases: --src.

-o, –output <OUTPUT>

Output path (by default overwrite the input file).
Aliases: --dest.

–json

Format json file.

–xml

Format xml file.

–xml-variant <XML_VARIANT>

XML version.

-h, –help

Print help.