Skip to content

dorianmariecom/dorian-yaml-uniq

Repository files navigation

dorian-yaml-uniq

Deduplicate top-level YAML arrays.

Install

gem install dorian-yaml-uniq

Also included in the aggregate gem:

gem install dorian

Usage

yaml-uniq [yaml ...] [file ...]

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

Notes

  • Non-array YAML is parsed and printed back unchanged.

Examples

Deduplicate a YAML array

yaml-uniq '- 1' '- 2' '- 1'

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors