src/Console/ConfigureCommand.php
public function handle()
    {
        $config = $this->option('config');

        if (!$config) {
            throw new Exception('Config option is required.');
        }

        $configPath = realpath($config);

        if (!file_exists($configPath)) {
            throw new Exception('Configuration file not found.');
        }

        $config = require($configPath);

        $this->info(sprintf('Configuring with file "%s".', $configPath));
        $this->getRbacService()->configure($config);
        $this->info('Configuration done.');
    }
public function handle()
    {
        $config = $this->option('config');

        if (!$config) {
            throw new Exception('Config option is required.');
        }

        $configPath = realpath($config);

        if (!file_exists($configPath)) {
            throw new Exception('Configuration file not found.');
        }

        $config = require($configPath);

        $this->info(sprintf('Configuring with file "%s".', $configPath));
        $this->getRbacService()->configure($config);
        $this->info('Configuration done.');
    }
Run the command.