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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 
greenlight/lib/tasks/administrator.rake

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