Sha256: ee4cf24003da0fd145d33653e0f3c5597910fe271b54dc285d6ce7face0b0b21

Contents?: true

Size: 306 Bytes

Versions: 4

Compression:

Stored size: 306 Bytes

Contents

#!/usr/bin/env ruby
require 'rack/blogengine/command_line_interface' 

if ARGV[0]
  command = ARGV[0].to_sym
else
  command = "".to_sym
end

target = ARGV[1]
target = "" if !ARGV[1]

cli = Rack::Blogengine::CommandLineInterface.new

if target != ""
  cli.send(command, target)
else
  cli.send(command)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rack-blogengine-0.2.0 bin/rack-blogengine
rack-blogengine-0.1.9 bin/rack-blogengine
rack-blogengine-0.1.8 bin/rack-blogengine
rack-blogengine-0.1.7 bin/rack-blogengine