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.3.0 bin/vmail_client
vmail-0.2.8 bin/vmail_client
vmail-0.2.7 bin/vmail_client