yaml-sort

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2026 License: MIT Imports: 5 Imported by: 0

README

yaml-sort

A go cli that recursively sorts YAML documents: mapping keys are ordered alphabetically (by (key, value)) and sequence elements are ordered by their YAML representation.

Install

Download the binary from releases or:

go install codeberg.org/madp/yaml-sort@latest

Usage

Read from stdin, write to stdout:

yaml-sort < input.yaml > output.yaml

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL