Class: QiitaMail::CLI

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

Instance Method Summary collapse

Instance Method Details

#deliverObject



20
21
22
# File 'lib/qiita_mail/cli.rb', line 20

def deliver
  CliCore.new.deliver
end

#html(filename = nil) ⇒ Object



25
26
27
# File 'lib/qiita_mail/cli.rb', line 25

def html(filename = nil)
  CliCore.new.file(:html, filename)
end

#initObject



15
16
17
# File 'lib/qiita_mail/cli.rb', line 15

def init
  CliCore.new.init
end

#text(filename = nil) ⇒ Object



30
31
32
# File 'lib/qiita_mail/cli.rb', line 30

def text(filename = nil)
  CliCore.new.file(:text, filename)
end