Class: AwsAlertMonitor::CLI
- Inherits:
-
Object
- Object
- AwsAlertMonitor::CLI
- Defined in:
- lib/aws-alert-monitor/cli.rb
Instance Method Summary collapse
-
#initialize ⇒ CLI
constructor
A new instance of CLI.
- #start ⇒ Object
Constructor Details
#initialize ⇒ CLI
Returns a new instance of CLI.
5 6 7 |
# File 'lib/aws-alert-monitor/cli.rb', line 5 def initialize @options = end |
Instance Method Details
#start ⇒ Object
9 10 11 12 |
# File 'lib/aws-alert-monitor/cli.rb', line 9 def start parser = AwsAlertMonitor::Parser.new :log_level => @options[:log_level] parser.run end |