xml-pretty

Crates.ioxml-pretty
lib.rsxml-pretty
version0.2.3
sourcesrc
created_at2022-05-07 13:11:50.281661
updated_at2022-11-22 14:30:51.699169
descriptionXML prettifer binary using xmlem
homepage
repositoryhttps://github.com/bbqsrc/xml-pretty
max_upload_size
id582105
size37,337
Brendan Molloy (bbqsrc)

documentation

README

xml-pretty

Make your XML pretty. A frontend to the xmlem crate.

Features

  • It pretty prints your XML
  • Outputs to file, terminal or replaces original file
  • Handle entities properly and can enforce hex entities
  • Customisable indentation width and maximum file width
  • Ought not eat your comments even if they're outside the root element

Installation

cargo install --git https://github.com/bbqsrc/xml-pretty

Usage

Use xml-pretty --help to see the flags.

Simplest invocation is xml-pretty <file>.

License

This project is licensed under either of

at your option.

Commit count: 17

cargo fmt