bin/camtasy in camtasy-0.0.2 vs bin/camtasy in camtasy-0.0.3

- old
+ new

@@ -1,22 +1,5 @@ #!/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 +require "camtasy/cli" Camtasy::CLI.start