Class: Orphic::OrphicCli::Node

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

Instance Method Summary collapse

Instance Method Details

#deploy(site) ⇒ Object



13
14
15
16
17
18
19
20
21
# File 'lib/orphic/cli/node.rb', line 13

def deploy ( site )
  CLI::UI::Frame.open( "Node :: deploy : " + site ) do
    if options[:baseDistrict]
      puts "Starting deploy #{site} with #{options[:baseDistrict]}"
    else
      puts "Starting deploy #{site} with no base district."
    end
  end
end

#help(command) ⇒ Object



6
7
8
9
10
# File 'lib/orphic/cli/node.rb', line 6

def help ( command )
  CLI::UI::Frame.open( "Node :: help : " + command ) do
    puts "Looks like you are looking for #{command} with tags #{options[:tags]}"
  end
end