|
6 months ago | |
---|---|---|
bin | 6 months ago | |
ycat | 6 months ago | |
.gitignore | 6 months ago | |
LICENSE | 6 months ago | |
Makefile | 6 months ago | |
README.md | 6 months ago | |
setup.py | 6 months ago |
pip install ycat
~$ cat /tmp/test2.yml
---
mappings:
templates:
- fields:
mapping:
norms: false
type: text
fields:
keyword:
ignore_above: 256
type: keyword
~$ ycat
USAGE:
cat some.yaml | ycat
ycat some.yaml
~$ ycat /tmp/test2.yml
.mappings.templates[0].fields.mapping.norms = False
.mappings.templates[0].fields.mapping.type = "text"
.mappings.templates[0].fields.mapping.fields.keyword.ignore_above = 256
.mappings.templates[0].fields.mapping.fields.keyword.type = "keyword"