class ROTP::CLI

def output

def output
  return options.warnings if options.warnings
  return errors if errors
  return arguments.to_s if options.mode == :help
  if options.mode == :time
    ROTP::TOTP.new(options.secret, options).now
  elsif options.mode == :hmac
    ROTP::HOTP.new(options.secret, options).at options.counter
  end
end