Project

gogreen

0.0
Low commit activity in last 3 years
No release in over a year
Run RSF jobs from the command line using a Dynarex flavoured aliases file.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.1, >= 0.1.4
~> 0.4, >= 0.4.5
~> 1.9, >= 1.9.5
~> 1.4, >= 1.4.0
~> 0.9, >= 0.9.0
 Project Readme

Introducing the GoGreen gem

Usage:

require 'gogreen'

a = %w(http://a0.jamesrobertson.eu/qbx/r/mia-aliases.txt $1)
gg = GoGreen.new(a.first)
puts gg.execute(a[1], a[2..-1]).to_s

Shell script usage:

#!/bin/bash

# file: gg2.sh

ruby -r gogreen -e "a = %w(http://a0.jamesrobertson.eu/qbx/r/mia-aliases.txt $1); gg = GoGreen.new(a.first); puts gg.execute(a[1], a[2..-1]).to_s"

Note: I use the latter form when I need to run a script from within a Docker container for example.

Resources

gogreen