Class: Awspec::CLI

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

Instance Method Summary collapse

Instance Method Details

#help(version = nil) ⇒ Object



17
18
19
20
21
22
23
# File 'lib/awspec/cli.rb', line 17

def help(version = nil)
  if version
    puts Awspec::VERSION
  else
    super
  end
end

#initObject



8
9
10
# File 'lib/awspec/cli.rb', line 8

def init
  Awspec::Setup.run
end