Skip to content

bbqsrc/xml-pretty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.