Class: EewJpNotify::CLI
- Inherits:
-
Object
- Object
- EewJpNotify::CLI
- Defined in:
- lib/eew_jp_notify/cli.rb
Defined Under Namespace
Classes: Params
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.run(args) ⇒ Object
20 21 22 |
# File 'lib/eew_jp_notify/cli.rb', line 20 def self.run(args) self.new.run(args) end |
Instance Method Details
#run(args) ⇒ Object
23 24 25 26 |
# File 'lib/eew_jp_notify/cli.rb', line 23 def run(args) params = Params.new(args) EewJpNotify::Main.new.execute(params.config) end |