Sha256: ea5e00945ece55a4c7efe2e7ac19a5ae16411044e1278e5f42b40a1c1a7cf075

Contents?: true

Size: 332 Bytes

Versions: 43

Compression:

Stored size: 332 Bytes

Contents

#!/usr/bin/env ruby
require 'drb'

server = DRbObject.new_with_uri ARGV.shift
method = ARGV.shift

if method == 'deliver' || method == 'save_draft'
  text = STDIN.read
  puts server.send(method, text)
elsif method == 'show_help'
  puts File.expand_path("../../README.markdown", __FILE__)
else
  puts server.send(method, *ARGV)
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
vmail-0.7.1 bin/vmail_client
vmail-0.7.0 bin/vmail_client
vmail-0.6.9 bin/vmail_client
vmail-0.6.8 bin/vmail_client
vmail-0.6.7 bin/vmail_client
vmail-0.6.6 bin/vmail_client
vmail-0.6.5 bin/vmail_client
vmail-0.6.4 bin/vmail_client
vmail-0.6.3 bin/vmail_client
vmail-0.6.2 bin/vmail_client
vmail-0.6.1 bin/vmail_client
vmail-0.6.0 bin/vmail_client
vmail-0.5.9 bin/vmail_client
vmail-0.5.8 bin/vmail_client
vmail-0.5.7 bin/vmail_client
vmail-0.5.6 bin/vmail_client
vmail-0.5.5 bin/vmail_client
vmail-0.5.4 bin/vmail_client
vmail-0.5.3 bin/vmail_client
vmail-0.5.2 bin/vmail_client