mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
6 lines
172 B
Ruby
6 lines
172 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
|