Class: CfnMonitor::Commands

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

Instance Method Summary collapse

Instance Method Details

#__print_versionObject



13
14
15
# File 'lib/cfn_monitor.rb', line 13

def __print_version
  puts CfnMonitor::VERSION
end

#deployObject



71
72
73
# File 'lib/cfn_monitor.rb', line 71

def deploy
  CfnMonitor::Deploy.run(options)
end

#generateObject



48
49
50
51
52
53
# File 'lib/cfn_monitor.rb', line 48

def generate
  CfnMonitor::Generate.run(options)
  if options['validate']
    CfnMonitor::Validate.run(options)
  end
end

#queryObject



62
63
64
# File 'lib/cfn_monitor.rb', line 62

def query
  CfnMonitor::Query.run(options)
end

#validateObject



80
81
82
# File 'lib/cfn_monitor.rb', line 80

def validate
  CfnMonitor::Validate.run(options)
end