KageKirin.XmlFormat.Tool
0.9.4
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global KageKirin.XmlFormat.Tool --version 0.9.4
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.4
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=KageKirin.XmlFormat.Tool&version=0.9.4
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.4
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 | 92 | 5/6/2026 |
| 0.9.4 | 88 | 5/5/2026 |
| 0.9.3 | 96 | 5/3/2026 |
| 0.9.2 | 86 | 5/3/2026 |
| 0.9.1 | 108 | 4/19/2026 |
| 0.9.0 | 256 | 8/18/2025 |
| 0.8.11 | 197 | 8/18/2025 |
| 0.8.10 | 204 | 8/18/2025 |
| 0.8.9 | 207 | 8/18/2025 |
| 0.8.8 | 198 | 8/18/2025 |
| 0.8.6 | 209 | 8/18/2025 |
| 0.8.4 | 246 | 8/4/2025 |
| 0.8.3 | 256 | 8/4/2025 |
| 0.8.2 | 258 | 8/4/2025 |
| 0.8.1 | 241 | 8/4/2025 |
| 0.8.0 | 211 | 7/14/2025 |
| 0.7.16 | 205 | 7/14/2025 |
| 0.7.15 | 201 | 7/14/2025 |
| 0.7.14 | 216 | 7/14/2025 |
| 0.7.13 | 201 | 7/14/2025 |
Loading failed
CHANGELOG.md