Sha256: 231c196762688bfa0c5dfedb4cb4e342bd5ba0cccc1d657846254faf58ba3a8c
Contents?: true
Size: 360 Bytes
Versions: 1
Compression:
Stored size: 360 Bytes
Contents
#!/usr/bin/env ruby require 'camtasy' require "thor" module Camtasy class CLI < Thor DEFAULT_URI='druby://localhost:8787' desc 'server', 'starts a server.' def server PhotoServer.new.run(DEFAULT_URI) end desc 'client', 'connect to a server' def client Client.new(DEFAULT_URI).run end end end Camtasy::CLI.start
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
camtasy-0.0.2 | bin/camtasy |