ariataylor96 / jaml

Edit your YAML files as JSON, so that it hurts a little bit less.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jaml

Lets you edit JSON as YAML, and vice versa, with only one command!

  • Intelligently detects output settings based on the input file type
  • Respects your $EDITOR if it can, otherwise tries to find one it can use
  • Is made with love

Installation

pip install jaml-edit

Usage

$ jaml --help
usage: jaml [-h] [-i INDENT] [-t] file_name

Interchangeably edit YAML as JSON and vice versa

positional arguments:
  file_name             The file to edit

optional arguments:
  -h, --help            show this help message and exit
  -i INDENT, --indent INDENT
                        How indented the output data should be
  -t, --trailing-whitespace
                        Add trailing whitespace to the end of the output

About

Edit your YAML files as JSON, so that it hurts a little bit less.

License:Do What The F*ck You Want To Public License


Languages

Language:Python 98.1%Language:Makefile 1.9%