Class: Docksync::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/docksync/cli.rb,
lib/docksync/cli/help.rb

Defined Under Namespace

Classes: Help

Instance Method Summary collapse

Instance Method Details

#rsync(cid) ⇒ Object



13
14
15
# File 'lib/docksync/cli.rb', line 13

def rsync(cid)
  Rsync.new(options.merge(:cid => cid)).run
end

#watch(cid) ⇒ Object



19
20
21
# File 'lib/docksync/cli.rb', line 19

def watch(cid)
  Watch.new(options.merge(:cid => cid)).run
end