mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 07:43:43 +08:00
7 lines
170 B
Ruby
7 lines
170 B
Ruby
desc "generate api key if missing, return existing if already there"
|
|
task "api_key:get" => :environment do
|
|
api_key = ApiKey.create_master_key
|
|
|
|
puts api_key.key
|
|
end
|