Class: Pec::CLI

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

Instance Method Summary collapse

Instance Method Details

#__print_version ⇒ Object



33
34
35
# File 'lib/pec/cli.rb', line 33

def __print_version
  puts Pec::VERSION
end

#config ⇒ Object



27
28
29
# File 'lib/pec/cli.rb', line 27

def config
  _sub_command(host_name, options)
end

#destroy(host_name = nil) ⇒ Object



17
18
19
# File 'lib/pec/cli.rb', line 17

def destroy(host_name = nil)
  _sub_command(host_name, options)
end

#init ⇒ Object



6
7
8
# File 'lib/pec/cli.rb', line 6

def init
  _sub_command(host_name, options)
end

#status(host_name = nil) ⇒ Object



22
23
24
# File 'lib/pec/cli.rb', line 22

def status(host_name = nil)
  _sub_command(host_name, options)
end

#up(host_name = nil) ⇒ Object



11
12
13
# File 'lib/pec/cli.rb', line 11

def up(host_name = nil)
  _sub_command(host_name, options)
end