Class: Daun::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/daun/cli.rb

Overview

All daun cli subcommands are made available by this class.

Instance Method Summary collapse

Instance Method Details

#checkoutObject



16
17
18
# File 'lib/daun/cli.rb', line 16

def checkout
  Daun::RuggedDaun.new(options[:directory]).checkout
end

#init(remote_url, destination) ⇒ Object



9
10
11
# File 'lib/daun/cli.rb', line 9

def init(remote_url, destination)
  Daun::RuggedDaun.new(destination).init(remote_url)
end