2017 © Pedro Peláez
 

library yaml-cli

A command line tool for reading and manipulating yaml files.

image

grasmash/yaml-cli

A command line tool for reading and manipulating yaml files.

  • Tuesday, October 10, 2017
  • by grasmash
  • Repository
  • 1 Watchers
  • 11 Stars
  • 269,032 Installations
  • PHP
  • 15 Dependents
  • 0 Suggesters
  • 5 Forks
  • 2 Open issues
  • 17 Versions
  • 17 % Grown

The README.md

Build Status Packagist Total Downloads Coverage Status, (*1)

Yet another command line tool for reading and manipulating yaml files, built on the Symfony console component., (*2)

Commands:

Command Description
get:value Get a value for a specific key in a YAML file.
lint Validates that a given YAML file has valid syntax.
unset:key Unset a specific key in a YAML file.
update:key Change a specific key in a YAML file.
update:value Update the value for a specific key in a YAML file.

Installation

composer require grasmash/yaml-cli

Example usage:

./vendor/bin/yaml-cli get:value somefile.yml some-key
./vendor/bin/yaml-cli lint somefile.yml
./vendor/bin/yaml-cli unset:value somefile.yml some-key
./vendor/bin/yaml-cli update:key somefile.yml old-key new-key
./vendor/bin/yaml-cli update:value somefile.yml some-key some-value

Similar tools:

  • Javascript - https://github.com/pandastrike/yaml-cli
  • Ruby - https://github.com/rubyworks/yaml_command
  • Python - https://github.com/0k/shyaml

Recognition

This project was inspired by the yaml commands in Drupal Console., (*3)

The Versions

10/10 2017

dev-master

9999999-dev

A command line tool for reading and manipulating yaml files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthew Grasmick

05/09 2017

1.0.3

1.0.3.0

A command line tool for reading and manipulating yaml files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthew Grasmick

05/09 2017

dev-symfony3x

dev-symfony3x

A command line tool for reading and manipulating yaml files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthew Grasmick

19/06 2017

1.0.2

1.0.2.0

A command line tool for reading and manipulating yaml files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthew Grasmick

07/04 2017

1.0.1

1.0.1.0

A command line tool for reading and manipulating yaml files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthew Grasmick

16/03 2017

1.0.0

1.0.0.0

A command line tool for reading and manipulating yaml files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthew Grasmick

16/03 2017

dev-update-dot-access

dev-update-dot-access

A command line tool for reading and manipulating yaml files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthew Grasmick

10/01 2017

0.3.4

0.3.4.0

A command line tool for reading and manipulating yaml files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthew Grasmick

09/01 2017

dev-diff-command

dev-diff-command

A command line tool for reading and manipulating yaml files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthew Grasmick

06/01 2017

0.3.3

0.3.3.0

A command line tool for reading and manipulating yaml files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthew Grasmick

04/01 2017

0.3.2

0.3.2.0

A command line tool for reading and manipulating yaml files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthew Grasmick

04/01 2017

0.3.1

0.3.1.0

A command line tool for reading and manipulating yaml files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthew Grasmick

04/01 2017

0.3.0

0.3.0.0

A command line tool for reading and manipulating yaml files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthew Grasmick

03/01 2017

0.2.2

0.2.2.0

A command line tool for reading and manipulating yaml files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthew Grasmick

03/01 2017

0.2.1

0.2.1.0

A command line tool for reading and manipulating yaml files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthew Grasmick

03/01 2017

0.2

0.2.0.0

A command line tool for reading and manipulating yaml files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthew Grasmick

03/01 2017

0.1

0.1.0.0

A command line tool for reading and manipulating yaml files.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matthew Grasmick