Sha256: bbd39f52f174692d27bc237f56497d1114901ce190a5fe5e6bc3b6a12c3696e6

Contents?: true

Size: 479 Bytes

Versions: 6

Compression:

Stored size: 479 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'

RAILS_BASE=File.join(File.dirname(__FILE__),"..")
CONFIGDIR=File.join(RAILS_BASE,"config")

require File.join(CONFIGDIR,"boot")
require File.join(CONFIGDIR,"environment")
require 'application'

admin = SugoiAdminController.new

command = ARGV.shift.gsub(/-/,"_")

request = ActionController::CommandlineRequest.new(command, *ARGV)
response = ActionController::CommandlineResponse.new

admin.process(request, response)

puts response.body

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sugoi-mail-0.1.0 bin/sugoi-admin
sugoi-mail-0.0.1 bin/sugoi-admin
sugoi-mail-0.0.2 bin/sugoi-admin
sugoi-mail-0.0.3 bin/sugoi-admin
sugoi-mail-0.0.5 bin/sugoi-admin
sugoi-mail-0.1.5 bin/sugoi-admin