Add CLI interface for importing custom emoji (#8437)
bin/tootctl emoji import PATH_TO_TAR Fix #8435
This commit is contained in:
parent
5129f6f2aa
commit
b378b4c5c7
4 changed files with 106 additions and 5 deletions
8
lib/mastodon/cli_helper.rb
Normal file
8
lib/mastodon/cli_helper.rb
Normal file
|
@ -0,0 +1,8 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
dev_null = Logger.new('/dev/null')
|
||||
|
||||
Rails.logger = dev_null
|
||||
ActiveRecord::Base.logger = dev_null
|
||||
HttpLog.configuration.logger = dev_null
|
||||
Paperclip.options[:log] = false
|
Loading…
Add table
Add a link
Reference in a new issue