Class: CfnMonitor::Commands

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

Instance Method Summary collapse

Instance Method Details

#__print_versionObject



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

def __print_version
  puts CfnMonitor::VERSION
end

#deployObject



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

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

#generateObject

method_option :validate, aliases: :v, type: :boolean, default: true, desc: “validate cfn templates”



41
42
43
# File 'lib/cfn_monitor.rb', line 41

def generate
  CfnMonitor::Generate.run(options)
end

#queryObject



52
53
54
# File 'lib/cfn_monitor.rb', line 52

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