intraworlds/myhe
Composer 安装命令:
composer require intraworlds/myhe
包简介
Multi YAML Headless Editor
README 文档
README
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
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-06-09