Class: Camtasy::CLI
- Inherits:
-
Thor
- Object
- Thor
- Camtasy::CLI
- Defined in:
- lib/camtasy/cli.rb
Constant Summary collapse
- DEFAULT_URI =
'druby://localhost:8787'
Instance Method Summary collapse
Instance Method Details
#client ⇒ Object
15 16 17 |
# File 'lib/camtasy/cli.rb', line 15 def client Client.new([:uri] || DEFAULT_URI).run end |
#server ⇒ Object
9 10 11 |
# File 'lib/camtasy/cli.rb', line 9 def server PhotoServer.new.run([:uri] || DEFAULT_URI) end |