Sha256: ef07cc20b39db380e86f6a63ad1bd9f63dfd8a6f5c331b10f15bc01df41e568b

Contents?: true

Size: 1.14 KB

Versions: 5

Compression:

Stored size: 1.14 KB

Contents

## dev_commands  <img src="https://badge.fury.io/rb/dev_commands.png" alt="Gem Version" />

A ruby gem to aid in the definition and execution of system commands

### Installation

The gem can be installed by the single command

```
gem install dev_commands
```
 
### Usage

This is an example of a simple usage

```
 require 'dev_commands'

 cmd=Command.new 'ruby --version'
 cmd.execute
 puts "exit_code: #{cmd[:exit_code]}" 
 puts "output: #{cmd[:output]}"

 # exit_code: 0
 # output": ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
```

### License
Copyright 2014-2015 Lou Parslow

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dev_commands-0.0.10 README.md
dev_commands-0.0.9 README.md
dev_commands-0.0.8 README.md
dev_commands-0.0.7 README.md
dev_commands-0.0.6 README.md