mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-22 03:32:18 -05:00
14 lines
286 B
Ruby
14 lines
286 B
Ruby
require "thor"
|
|
|
|
module Cli
|
|
class EmailCommand < Thor
|
|
namespace :email
|
|
DESCRIPTION = "test email"
|
|
|
|
desc "test", "sends test email"
|
|
def test
|
|
UserMailer.with(user: User.find(1)).account_approved.deliver_now # rubocop:disable Pundit/UsePolicyScope
|
|
end
|
|
end
|
|
end
|