Skip to content

Latest commit

 

History

38 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myhe

Multi YAML Headless Editor

Installation

composer global require intraworlds/myhe

Usage

# show available commands
myhe list

# show help for particular command
myhe help delete

# show all values of all keys
myhe show /dir/with/yamls

# find YAML file where are particular keys (DB_*)
myhe find -p ^DB_ /dir/with/yamls

# delete all (nested) *.description keys
myhe delete -p .* -p ^description$ /dir/with/yamls

# or any description key and subkeys (recursion)
myhe delete -r -p ^description$ /dir/with/yamls

# look for non-standard extenstions (yaml|yml by default)
myhe show -e conf /dir/with/yamls

# simple validation for syntax errors
myhe validate /dir/with/yamls

Todo

  • delete command (remove matching keys from found files)
  • edit command (edit values by defined rules)
  • unit tests of course
  • support for nested keys DB_*.value
  • proper value matching

License

MIT

About

Multi YAML Headless Editor

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages