use std::io::{Read, Write}; use std::path::{Path, PathBuf}; use std::process::ExitCode; use tidy::config::{Config, Resolver}; use tidy::embed::Verbatim; use tidy::{Error, Formatter, Language, Options, Shared, Whitespace, css, doc, handlebars}; use tidy_walk::Output; const HELP: &str = "\ tidy: a fast markup formatter Usage $ tidy [paths...] [options] Without paths, reads stdin and prints the result. With one file, prints the result unless --check or --write is set. Folders are searched for .html, .htm, .vue, .hbs, .handlebars, .css, .scss, and .less files, and for XML files: .xml, .svg, .plist, .csproj, pom.xml, and the other files that @prettier/plugin-xml formats. Style sheets in