rubyworks / yaml_command

YAML Command
http://rubyworks.github.com/yaml_command
Other
22 stars 0 forks source link

YAML COMMAND

Website / Report Issue / Development / IRC Channel

Description

YAML Command is a command line tool for working with YAML files.

While currently a work in progress, the goal is evolve the design for a standardized yaml command line tool. While this early implementation is written in Ruby, ultimately the final version would be written in C and be widely available.

IMPORTANT NOTE! YPath is not yet implemented so only simple name references can be used at this point.

Usage

Commands are invoked on the command line with:

$ yaml <command> [options...] [arguments...]

Commands

The following commands are currently supported:

Options

Some commands has special options. Use yaml <command> --help to learn about those. All (or nearly all) commands support the following options.

Installation

Ruby Interpreter

The yaml command is a Ruby script, so you will need a Ruby interpreter installed on your system. There are a few of these now, such as Rubinius, JRuby and the original MRI. The latter is the typical choice, and usually can be installed via your operating system's package manager. For example, on dpkg-based systems like Ubuntu, you can type in a shell console:

$ apt-get install ruby

Using RubyGems

With Ruby installed, the easiest way to install a Ruby library is via RubyGems. To install YAML Command just type:

$ gem install yaml_command

Requirements

YAML Command requires the following other packages be installed:

If you are using RubyGems these will be install automatically.

Copyrights

Copyright (c) 2011 Rubyworks. All rights reserved.

YAML Command may be distributed in accordance with the BSD-2-Clause license.

See the LICENSE.txt file for details.