Skip to content
Snippets Groups Projects
Select Git revision
  • main default
  • v0.1.2
  • v0.1.1
  • v0.1.0
4 results

yamltool

  • Clone with SSH
  • Clone with HTTPS
  • Adar Nimrod's avatar
    nimrod authored
    e43d1c58
    History

    YAML tool

    pipeline status

    YAML tool, a clone of the json.tool Python module for YAML.

    This tool provides a simple command line interface to validate and pretty-print YAML documents while trying to preserve as much as possible from the original documents (like comments and anchors).

    Usage

    usage: yt [-h] [infile] [outfile]
    
    YAML tool, a clone of the json.tool Python module for YAML.
    
    This tool provides a simple command line interface to validate and pretty-print
    YAML documents while trying to preserve as much as possible from the original
    documents (like comments and anchors).
    
    positional arguments:
      infile      a YAML file to be validated or pretty-printed
      outfile     write the output of infile to outfile
    
      optional arguments:
        -h, --help  show this help message and exit

    License

    This software is licensed under the MIT license (see the LICENSE.txt file).

    Author

    Nimrod Adar, contact me or visit my website. Patches are welcome via git send-email. The repository is located at: https://git.shore.co.il/nimrod/.