Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 281 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 281 Bytes

dorian-sort-yaml

Sorts keys of hashes of YAML files

e.g. sort-yaml config/locales/*

Install

gem install dorian-sort-yaml

Or as part of my other gems:

gem install dorian

Usage

git ls-files | grep "\.yml\$" | xargs sort-yaml