class Wicoris::Postman::CLI

Public Instance Methods

run() click to toggle source

Run a postman that clears the mailbox.

# File lib/wicoris/postman/cli.rb, line 30
def run
  Postman.new(opts).run
end

Private Instance Methods

opts() click to toggle source

@returns [Hash] App config

# File lib/wicoris/postman/cli.rb, line 37
def opts
  parse_options
  Config.from_file(config[:config]) if config[:config]
  Config.merge!(config)
end