Class: CfnMonitor::Commands
- Inherits:
-
Thor
- Object
- Thor
- CfnMonitor::Commands
- Defined in:
- lib/cfn_monitor.rb
Instance Method Summary collapse
- #__print_version ⇒ Object
- #deploy ⇒ Object
-
#generate ⇒ Object
method_option :validate, aliases: :v, type: :boolean, default: true, desc: “validate cfn templates”.
- #query ⇒ Object
Instance Method Details
#__print_version ⇒ Object
12 13 14 |
# File 'lib/cfn_monitor.rb', line 12 def __print_version puts CfnMonitor::VERSION end |
#deploy ⇒ Object
61 62 63 |
# File 'lib/cfn_monitor.rb', line 61 def deploy CfnMonitor::Deploy.run() end |
#generate ⇒ Object
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() end |
#query ⇒ Object
52 53 54 |
# File 'lib/cfn_monitor.rb', line 52 def query CfnMonitor::Query.run() end |