Fork of https://github.com/bigbluebutton/greenlight with Debian packaging.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
305 B
10 lines
305 B
# frozen_string_literal: true
|
|
|
|
require 'bigbluebutton_api'
|
|
|
|
namespace :admin do
|
|
desc "Creates an administrator account"
|
|
task :create, [:name, :email, :password, :role] => :environment do |_task, args|
|
|
Rake::Task["user:create"].invoke(args[:name], args[:email], args[:password], "admin")
|
|
end
|
|
end
|
|
|