KageKirin.XmlFormat.Tool
0.9.5
dotnet tool install --global KageKirin.XmlFormat.Tool --version 0.9.5
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local KageKirin.XmlFormat.Tool --version 0.9.5
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=KageKirin.XmlFormat.Tool&version=0.9.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package KageKirin.XmlFormat.Tool --version 0.9.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
<img src="icon.svg" alt="xml format icon" height="200" width="200" align="right" />
XmlFormat, aka xf
XmlFormat (project name), aka xf (command name)
is a simple and straightforward XML formatter
written in C#.
⚡ Getting Started
🔧 Installation
dotnet tool install -g XmlFormat
This will make xf available on the commandline.
Print an XML file after formatting
xf <file.xml>
or
cat <file.xml> | xf
Format an XML file and write the result back
xf --inline <file.xml>
Format many XML files
xf --inline *.xml
xf --inline `fd xml$`
fd xml$ -x xf {}
🔨 Build the Project
dotnet build
▶ Settings
The configuration file for xf is, unironically,
a TOML file in the current directory from which the tool is run,
called .xmlformat.
🤝 Collaborate with My Project
Please refer to COLLABORATION.md.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.9.5 | 90 | 5/6/2026 |
| 0.9.4 | 86 | 5/5/2026 |
| 0.9.3 | 94 | 5/3/2026 |
| 0.9.2 | 82 | 5/3/2026 |
| 0.9.1 | 106 | 4/19/2026 |
| 0.9.0 | 255 | 8/18/2025 |
| 0.8.11 | 196 | 8/18/2025 |
| 0.8.10 | 203 | 8/18/2025 |
| 0.8.9 | 206 | 8/18/2025 |
| 0.8.8 | 197 | 8/18/2025 |
| 0.8.6 | 208 | 8/18/2025 |
| 0.8.4 | 245 | 8/4/2025 |
| 0.8.3 | 255 | 8/4/2025 |
| 0.8.2 | 257 | 8/4/2025 |
| 0.8.1 | 240 | 8/4/2025 |
| 0.8.0 | 210 | 7/14/2025 |
| 0.7.16 | 204 | 7/14/2025 |
| 0.7.15 | 200 | 7/14/2025 |
| 0.7.14 | 215 | 7/14/2025 |
| 0.7.13 | 200 | 7/14/2025 |
Loading failed
CHANGELOG.md