Skip to main content

display yaml in flat format

Project description

Install

pip install ycat

example

~$ 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"

Project details


Release history Release notifications | RSS feed

This version

1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ycat-1.tar.gz (2.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page