Skip to content

folkol/yg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yg — "YAML grep"

Searches in YAML files for properties that matches a regex and prints them.

usage: yg pattern [files]

For more intricate command line YAML manipulation, check out yq.

Installation

$ pip install folkol.yg

Examples

  • finds Ansible variables matching nginx: yg nginx group_vars/* host_vars/*

About

a unix filter for "greping" in YAML files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages