opt-nc / yamlfixer

Automates the fixing of problems reported by yamllint by parsing its output
https://dev.to/adriens/series/18168
GNU General Public License v3.0
54 stars 8 forks source link

Create an `asciinema` that show how install and fix a bad yaml file, and show diff before/after #65

Open adriens opened 2 years ago

adriens commented 2 years ago

done cf https://asciinema.org/a/478928

adriens commented 2 years ago

Just merge #66 and we got the first one @tamere-allo-peter :fireworks:

adriens commented 2 years ago

used script :

python3 -m pip install yamlfixer-opt-nc
export PATH=$PATH:~/.local/bin

yamlfixer --help

gh repo clone opt-nc/yamlfixer
cd yamlfixer

yamlfixer --summary --backup examples/*.yml
ls -ltr examples/*

icdiff examples/bad.yml.orig examples/bad.yml