Class: Bim::Subcommands::Node

Inherits:
Thor
  • Object
show all
Defined in:
lib/bim/subcommands/node.rb

Overview

Node class defines subcommands

Instance Method Summary collapse

Instance Method Details

#create(name, address) ⇒ Object



25
26
27
# File 'lib/bim/subcommands/node.rb', line 25

def create(name, address)
  puts Bim::Action::Node.create(name, address)
end

#delete(name) ⇒ Object



33
34
35
# File 'lib/bim/subcommands/node.rb', line 33

def delete(name)
  puts Bim::Action::Node.delete(name)
end

#detail(name) ⇒ Object



17
18
19
# File 'lib/bim/subcommands/node.rb', line 17

def detail(name)
  puts Bim::Action::Node.detail(name)
end

#lsObject



9
10
11
# File 'lib/bim/subcommands/node.rb', line 9

def ls
  puts Bim::Action::Node.ls
end