Class: ChatworkBridge::CLI

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

Instance Method Summary collapse

Instance Method Details

#watchObject



9
10
11
12
13
14
15
16
17
18
# File 'lib/chatwork_bridge/cli.rb', line 9

def watch
  settings = load_settings
  watcher = Watcher.new({
    chatwork_login_url: settings.,
    chatwork_email: settings.chatwork_email,
    chatwork_password: settings.chatwork_password,
  })
  watcher.notifiers = settings.notifiers
  watcher.run
end