Skip to content

dorianmariecom/dorian-sort-yaml

Repository files navigation

dorian-sort-yaml

Recursively sort YAML mapping keys.

Install

gem install dorian-sort-yaml

Also included in the aggregate gem:

gem install dorian

Usage

sort-yaml [yaml ...] [file ...]

Run sort-yaml -h for generated option details and sort-yaml -v for the installed version.

Notes

  • Reads YAML from arguments, files, or stdin and prints normalized YAML.

Examples

Sort a locale file

sort-yaml config/locales/en.yml

About

No description, website, or topics provided.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors