public function CreateEdgeRoleCommand::execute in Apigee Edge 8
File
- src/
Command/ CreateEdgeRoleCommand.php, line 98
Class
- CreateEdgeRoleCommand
- Developer synchronization command class for Drupal Console.
Namespace
Drupal\apigee_edge\CommandCode
public function execute(InputInterface $input, OutputInterface $output) {
$this
->setupIo($input, $output);
$org = $input
->getArgument('org');
$email = $input
->getArgument('email');
$password = $input
->getOption('password');
$base_url = $input
->getOption('base-url');
$role_name = $input
->getOption('role-name');
$force = $input
->getOption('force');
$this->cliService
->createEdgeRoleForDrupal($this
->getIo(), 't', $org, $email, $password, $base_url, $role_name, $force);
}